Nested If

robart6

Registered User.
Local time
Today, 14:36
Joined
Feb 11, 2004
Messages
19
I want to make a form containing six to ten command buttons. Each command button will open a different subform. Is it possible to create a public function of nested If to accomplish this? If so, code example of nested If would help a lot. I could then call the function from the On Click of each command button. If this is an undesireable approach, please let me what a better approach would be.
 
robart6 said:
Is it possible to create a public function of nested If to accomplish this?

Bad, bad, bad...look in the help files for the SELECT CASE structure.
 
Thanks, Mile-O-Phile. I thought there was another approach but didn't know what to look for. I looked up "choice" - - an old DOS command. Duh! Thanks for pointing me in the right direction.
 

Users who are viewing this thread

Back
Top Bottom