Aug 9, 2006 #1 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
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
Aug 9, 2006 #2 rjoubert Programmer Oct 2, 2003 1,843 US In the double click event, use the Docmd.OpenForm method, passing in a WHERE clause... DoCmd.OpenForm "Invoice", acNormal, , "[InvoiceNumber]=" & myInvoiceNumber Upvote 0 Downvote
In the double click event, use the Docmd.OpenForm method, passing in a WHERE clause... DoCmd.OpenForm "Invoice", acNormal, , "[InvoiceNumber]=" & myInvoiceNumber
Aug 9, 2006 Thread starter #3 hdesbiens Programmer May 2, 2004 77 CA Thank you very much it works have a nice day Upvote 0 Downvote