Subform displaying information based on form's current record

PepeGallo

Registered User.
Local time
Today, 02:35
Joined
May 2, 2008
Messages
14
Hi folks!

I have a form that has a subform. This subform gets its data from a query that returns the data of all customers. When I run the form, the subquery displays the data from all customers. I don't want it to work like that, I want to display in the subquery only the data related to the current customer being displayed in the form. How can I do this? Thank you
 
Look at the master/child link properties of the subform control.
 
Yes...the tables should have one or more fields that are common; then you create the link(s) between the form(s) using these field(s) and only related records are displayed.
 

Users who are viewing this thread

Back
Top Bottom