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

Form to open on certain record 1

Status
Not open for further replies.

jmbcreative

Technical User
Jan 30, 2006
58
US
I have a form (HardwareAdd) that opens when a value "addcomponent" is selected within a combo box on a form called "Request". This form (HardwareAdd) has a combo box(System) within it that is querying a table for system names. I need this combo box to auto select the system name that is already selected in a combo box(system) that is on the original form "Request".

Any ideas how to make this happen?
 
Wow, I got really confused reading that...but I think i figured it out.
Code:
Private Sub Form_Load()
     Me.System.Value = Form_Request.System.Value
End Sub

-Pete
 
Pete to the rescue!

Thanks for the great advice again. I'll learn Visual Basic yet!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top