C
chopper57 via AccessMonster.com
I have a MainForm with three datasheet forms on it.
First form "SovItems" is auto linked to the MainForm
Second form "SovInstalled" is linked by a unbound box using txtLink, like I
found in the disucssin groups and it's working good.
The third one is where I have a problem.
I want to link my third form to the second form, but I'm using a composite
key.
My composite key is "ItemNo" and "PayAppNo"
I can link the form using only the "PayAppNo" but when I try to enter data
I received the message "Cannot add or change because a related record is
required in tbl_SovInstalled.
Is this because it's linke with only one of the composite keys?
Is there a way to write the control source so it links both keys?
This is what I have now in the txtLink : frm_SovInstalled.Form!PayAppNo
How would I add the other key "ItemNo" if it's possible?
First form "SovItems" is auto linked to the MainForm
Second form "SovInstalled" is linked by a unbound box using txtLink, like I
found in the disucssin groups and it's working good.
The third one is where I have a problem.
I want to link my third form to the second form, but I'm using a composite
key.
My composite key is "ItemNo" and "PayAppNo"
I can link the form using only the "PayAppNo" but when I try to enter data
I received the message "Cannot add or change because a related record is
required in tbl_SovInstalled.
Is this because it's linke with only one of the composite keys?
Is there a way to write the control source so it links both keys?
This is what I have now in the txtLink : frm_SovInstalled.Form!PayAppNo
How would I add the other key "ItemNo" if it's possible?