Feb 26, 2002 #1 awhitsel Programmer Feb 22, 2001 80 US I would like to know how to referring to controls on another form. For example, I want to refer to a command button on another form to determine the sort order of a continuous form.
I would like to know how to referring to controls on another form. For example, I want to refer to a command button on another form to determine the sort order of a continuous form.
Feb 26, 2002 #2 jebry Programmer Aug 6, 2001 3,006 US Hi! I don't know if you can get the information you want from the command button but the syntax you are looking for is: Forms!YourForm.Controls("YourControl" Of course the form must be open before any reference to it will work. hth Jeff Bridgham bridgham@purdue.edu Upvote 0 Downvote
Hi! I don't know if you can get the information you want from the command button but the syntax you are looking for is: Forms!YourForm.Controls("YourControl" Of course the form must be open before any reference to it will work. hth Jeff Bridgham bridgham@purdue.edu