G
Guest
Hi,
I am designing forms (all of which are based from the same table) based from
a questionnaire and am trying to implement skip patterns for certain fields
that are set up as option groups (1=Yes; 2=No). What I want to do is when
those particular fields equal 'No', I want the focus to switch to the first
field in the next form. Can someone tell me what I need to write for VBA code
to accomplish this? In addition, do I write the code from the 'No' checkbox
w/in the option group creating an event procedure using the 'On Got Focus'
property or from the overall control (option group) creating an event
procedure using the 'Click' property--and I think both methods then would
need the SetFocus method? Thanks.
I am designing forms (all of which are based from the same table) based from
a questionnaire and am trying to implement skip patterns for certain fields
that are set up as option groups (1=Yes; 2=No). What I want to do is when
those particular fields equal 'No', I want the focus to switch to the first
field in the next form. Can someone tell me what I need to write for VBA code
to accomplish this? In addition, do I write the code from the 'No' checkbox
w/in the option group creating an event procedure using the 'On Got Focus'
property or from the overall control (option group) creating an event
procedure using the 'Click' property--and I think both methods then would
need the SetFocus method? Thanks.