program combo box to retrieve data

  • Thread starter Thread starter mike
  • Start date Start date
M

mike

Hi All,

How can I program the combo box to automatically retrieve
the data when the form starts. I created a main form and
this main form contains a subform. In the subform, I have
a combo box. This combox will check the userID and
userName in the main form and from there, it will do a
query and display the data base on the userID and user
name. How do you program the combo box to do this??

For example:

Main form
userID:
username:

Subform within the main form
combo box
(This combo box takes the userID and username from the
main form and do a query)


Thnaks for the help...

mike
 
Back
Top