subform records

L

Lauren B

I have a subform (Subform 1) within a main form (Form 1) that is joined by
CustomerID. The subform contains information regarding vendors used by each
customer. A user can enter customer-specific vendor information on the main
form and then use the subform navigation buttons to move between records for
the particular customer.

For some reason, when the main form is opened for each customer, the vendor
subform is blank, even though there are indeed vendors entered for that
particular CustomerID. Is there a code that can be used (perhaps in the
OnOpen property) that will cause the subform to display the appropriate
information for each customer?

Thank you in advance for any assistance.

LB
 
M

Marshall Barton

Lauren said:
I have a subform (Subform 1) within a main form (Form 1) that is joined by
CustomerID. The subform contains information regarding vendors used by each
customer. A user can enter customer-specific vendor information on the main
form and then use the subform navigation buttons to move between records for
the particular customer.

For some reason, when the main form is opened for each customer, the vendor
subform is blank, even though there are indeed vendors entered for that
particular CustomerID. Is there a code that can be used (perhaps in the
OnOpen property) that will cause the subform to display the appropriate
information for each customer?


I'm not sure what you're describing here, but maybe you need
to set the subform's Link Master/Child properties to the
customer id field??
 

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