Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do i retreive the Openargs data 1

Status
Not open for further replies.

davidmulcair

Programmer
Jun 26, 2001
35
CA
Hi,

I've got the DoCmd.OpenForm("Form",,,,,,txtBob) thing working, but how do I retreive it in the Form_Load event?

Thanks,

David Mulcair
 
You can do something like this:

[tt]
If Me.OpenArgs = "txtBob"
'Run some code
Else
'Run some other code
End If
[/tt]

HTH Joe Miller
joe.miller@flotech.net
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top