Linking forms based on two fields

T

Tony Williams

I have a form based on one table that I want to include a subform based on
another table. I know about the parent/child link property but I want to link
the records on the sub form with two controls on the main form so that the
main form data is automatically entered into the corressponding two fields in
the second table.
How do I do this?
Thanks
Tony
 
P

PieterLinden via AccessMonster.com

Tony said:
I have a form based on one table that I want to include a subform based on
another table. I know about the parent/child link property but I want to link
the records on the sub form with two controls on the main form so that the
main form data is automatically entered into the corressponding two fields in
the second table.
How do I do this?
Thanks
Tony

In the LinkChild and LinkMaster fields, enter the field names separated by
semi-colons, like this:

LinkChild Fields: hPatientID;hProtocol
LinkMaster Fields: ePatientID;eProtocolID
 
T

Tony Williams

Thanks Pieter, sounds easy enough.
Tony

PieterLinden via AccessMonster.com said:
In the LinkChild and LinkMaster fields, enter the field names separated by
semi-colons, like this:

LinkChild Fields: hPatientID;hProtocol
LinkMaster Fields: ePatientID;eProtocolID
 

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