View Full Version : GotoControl


superrob5
09-22-2003, 01:30 PM
I want to jump from a subform to the main form when an error occurs. I looked in the help menu and it states

Note Enter only the name of the field or control in the Control Name argument, not the fully qualified identifier, such as Forms!Products![Product ID].


I tried using this identifier but doens't work. Is it not supposed to???

namliam
09-23-2003, 03:24 AM
Going from a subform to a main.parent is like this

Me.parent.control...

Try it... Also i would recomend using VBA code for stuff like this Error trapping with macro's is messy

Regards

The Mailman

superrob5
09-23-2003, 06:50 AM
k