Open Form based on List Selection
am 20.04.2008 23:34:28 von ghetto_banjoOk, i thought i had this one figured out, apparently not.
Here is my code on my button click event:
stDocName = "frmInvoice"
stLinkCriteria = "[InvoiceNum]=" & Me![List13]
DoCmd.OpenForm stDocName, , , stLinkCriteria
List13 is a single column list box of invoice numbers. When I choose
an invoice in teh list, and click my edit button, the form opens up
with the first record of the Invoice Table (frmInvoice bounded to this
table).
What am i doing wrong? Do you need more information to help me?
Thanks