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

Swithing between Continous form and Single Form, selecting a record 1

Status
Not open for further replies.

LimitedTech

Technical User
Aug 4, 2008
71
US
I would like to have a button on each line of a continuous form that will open a single form for the OrderID (text field) for that line. Is this possible? Essentially I want to see a list of items and if someone is inquiring about one of them be able to click the button to get the rest of the details and enter information for that OrderID.

Thanks
 
sure put a button in the detail section and it will appear for each record.
Then look at the docmd.openform method


The current record likely has a primary key. Then you use the openform method to open to that record. Something like

Private Sub cmdFilter_Click()
DoCmd.OpenForm "frmProduct", , , "ProductID=" & me.ProductID.Value
End Sub
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top