Skip to Content
avatar image
Former Member

Mode Changes to Update on Tab Click

Good Morning

Experts:

I am not sure how to solve this problem. Whenever I click 1 of the 3 Tabs on my form, the mode changes to Update if it was in OK mode and changes to OK mode if it was in Add.

How do you all get around this? Or perhaps it is a setting I am missing when creating the Tabs on the form.

Thanks,

EJD

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

6 Answers

  • Best Answer
    Oct 10, 2007 at 12:55 PM

    Hi Ed,

    You should create your tabs with AffectsFormMode = false;

    Regards

    Ad

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 10, 2007 at 12:40 PM

    U check the item event for click..............

    It wont change..........I done more form using tab...........

    Regards,

    anitha

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 10, 2007 at 01:19 PM

    Hi,

    have u used databrowser property? read about databrowser,

    and bind u r controls to datasource properly.

    and check button unique id which u have placed on u r form.

    for ADD it should be 1

    for Cancel it should be 2

    try this!!

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 12, 2007 at 06:50 AM

    Ed,

    Vinay is rite. I think u gave the UID for tab to 1 or 2 check that......

    Regards,

    anitha

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 12, 2007 at 10:35 AM

    Hi,

    set oItem.AffectsFormMode=false ;

    Regards,

    Lalit

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 12, 2007 at 10:47 AM

    Hi..

    if u r changing something in ur customized form.. then use

    oform.update();

    ..

    ..

    do your work..

    lalit is right... but oform.update is necessary to give after changs in the form.

    Add comment
    10|10000 characters needed characters exceeded