Setting focus to a subform

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top