Parameter to a Form

India_Tech_Geek

New member
Local time
Today, 17:54
Joined
Aug 4, 2004
Messages
8
Hi,

I have a form called form1. This form1 can be accessed from many other forms. I have buttons on other forms which when clicked open form1. Now when I load form1, I need a way to find out which button has opened it.

How can I do this?
Is there anyway to pass a parameter when a button_Click() method is called.

Thanks..
 
you can use the openargs in the docmd.openform statement

check this forum for openargs, there are several threads covering this feature.
 

Users who are viewing this thread

Back
Top Bottom