Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Access Form with combo/list/sub How to Requery?

Status
Not open for further replies.

befine

Instructor
Apr 18, 2002
79
US
I have a form with a combo box, list box and a subform.
The combo box has a list of companys. After update populates the list box with contact names; first,last, phone from the contact table.
What I’m trying to do is: When I click on a name in the list box, I want to populate the subform with all the info from the contact table. I’m using the on_click event of the list box, but I can’t figure out how to change/update/requery the subform or even how to refer to it. I’d appreciate it if some one could lead me in the right direction.

Thanks
befine
 
Here is how you would refer to the subform... You need to refer to the forms "form" property.

Forms![Orders]![Orders Subform].Form We are always looking for new members at our computer forums:
 
Thank you. It's exactly what I needed.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top