variable form

T

tim

I have a main form with two buttons that open the
same form but showing different company details.
code used :-

DoCmd.OpenForm stDocName, , , ""Employee='Company1'" and

DoCmd.OpenForm stDocName, , , ""Employee='Company2' or 'Company3'"

When the button is selected another form loads with many command buttons
to navigate to various other forms showing employee details (name, training,
etc)

I would like to know how to only show details for company1 while I'm
navigating
after I've pressed button1 on the main screen or to show company2 & 3 details
after I've pressed button2.

Cheers
 

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