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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

find record question

Status
Not open for further replies.

noonan1

Technical User
Feb 20, 2003
10
IE
I have a form with a combo box listing project ids (1,2,3 etc..).I want to be able to select an ID and then click on a command button to open a form called Action_Items with the specific record relating to the id selected showing.Eg if I select project id 1 and then press the command button to open the action items form, the record for project id 1 will appear.I am relatively new to VBA and would appreciate any help thank you.
 
In Access (VBA) one can pass values from one form to the next using OpenArgs

Like this...

Dim Open_Arg_Value as variant
Open_Arg_Value = 10

DoCmd.OpenForm "Form1", acNormal, , , , , Open_Arg_Value
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top