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

Opening record in form from pop up form

Status
Not open for further replies.

njwcad

Technical User
Oct 16, 2002
156
GB
Can you please help I amd trying to open a record on a form from a pop up form access through my database switchboard. It is intended to work something like
On database opening - switchboard opens (works fine)
Click find record on switchboard to open pop up form (works fine)
Select record id using combo box on pop up form(works fine)
Click command button to find record based on selection (this is the part I am having trouble with)

Any help would be greatly appreciated
Rgds
Njwcad
 
Have you tried creating a query using the data in the combo box?

"SELECT * FROM tblRecords WHERE recID = '" & cboBox.Value & "';"

^^ Assuming the recID is a string

-Pete
 
Many thanks for your help - your suggestion worked a treat
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top