Setting focus to a subform

  • Thread starter Thread starter BradC
  • Start date Start date
B

BradC

I have a contacts database.

Main form: (MainViewContacts) that has company name info
Sub form:(InvoiceInfo)on(MainViewContacts)for invoice info
Searches form: (Searches) to enter data to find the
company name and invoice(s) info

When searching company info i get the correct result as
well as the invoice info filled in the subform if there
is only one invoice. If there is more than one invoice i
always get the first invoice in the database that relates
to the correct company.

What code do I say to fill the subform with the correct
invoice info?
 
Back
Top