Combo Box and subforms

S

steve

I have a s simple form and sub form in access 97

I would like to place a combo box on the main form that
will select A record using the key field of the table.
Based on the record selected on the main form I would
like the related records to display on the sub form.

how do I do this?
 
A

Allen Browne

After placing the combo and subform on your main form, right-click the
subform control and choose Properties.

Locate the LinkMasterFields property on the Data tab of the Properties box.
Type in the name of your combo here.

Beside the LinkChildFields property, enter the name of the matching field in
the subform.
 
S

steve

-----Original Message-----
After placing the combo and subform on your main form, right-click the
subform control and choose Properties.

Locate the LinkMasterFields property on the Data tab of the Properties box.
Type in the name of your combo here.

Beside the LinkChildFields property, enter the name of the matching field in
the subform.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.

Reply to group, rather than allenbrowne at mvps dot org.




.
 

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