G
Guest
A2K2
i'm trying to get a cbo (drop-down value list) on a form to open another
form and go to a specific field if the choice selected is "1", or go to the
next field of the original form if the choice selected is "0".
here's my code i put in the OnChange event:
IIF("FieldName"=1, (DoCmd.OpenForm "Form2", acNormal,,,acFormAdd,
acWindowNormal) (DoCmd.GoToControl "FieldName2"), 0)
it might just be the hangover, but i don't see what's missing.
thanks everyone
i'm trying to get a cbo (drop-down value list) on a form to open another
form and go to a specific field if the choice selected is "1", or go to the
next field of the original form if the choice selected is "0".
here's my code i put in the OnChange event:
IIF("FieldName"=1, (DoCmd.OpenForm "Form2", acNormal,,,acFormAdd,
acWindowNormal) (DoCmd.GoToControl "FieldName2"), 0)
it might just be the hangover, but i don't see what's missing.
thanks everyone