G
Guest
Please help!
I have a form with a main page as member loopup follow by many subforms
(pages). The member loopup page links to a table MEMBER while the subforms
link to some other tables, e.g. Asthma, Diabetes. I have a button to set
focus to the correct subform. What is the correct syntax to just limit the
searched member in loopup form to the subform?
I tried: DoCmd.GoToRecord , , acGoTo, "[Member#] = Forms![Program
Tracking]![Child59]![Member#]"
but it erred me out with the wrong data type.
Thanks inadvance,
Sheridan
I have a form with a main page as member loopup follow by many subforms
(pages). The member loopup page links to a table MEMBER while the subforms
link to some other tables, e.g. Asthma, Diabetes. I have a button to set
focus to the correct subform. What is the correct syntax to just limit the
searched member in loopup form to the subform?
I tried: DoCmd.GoToRecord , , acGoTo, "[Member#] = Forms![Program
Tracking]![Child59]![Member#]"
but it erred me out with the wrong data type.
Thanks inadvance,
Sheridan