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

Open a new form with a specific record

Status
Not open for further replies.

hdesbiens

Programmer
May 2, 2004
77
CA
Hi

I have a form client and on that form is a subform with a list of invoice on it.

What i want to do i when i dblclik on a record, i open the form invoice and get position on the invoice number.

Is there a way to do that?

thanks a lot
 
In the double click event, use the Docmd.OpenForm method, passing in a WHERE clause...

DoCmd.OpenForm "Invoice", acNormal, , "[InvoiceNumber]=" & myInvoiceNumber
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top