D
Duncs
I've got a form with a subform, but I can't get the subform displaying
the data correctly. Here's what I have...
I have two tables.
Table1 - Contains Company IDs
Only field is PPMIP
Table2 - Contains transactions against each company ID
Fields are PPMIP, CRN, TransAmt, TransDate, TransID
So, my main form has two combos on it, one for the PPMIP from Table1
and one for the CRN form Table2. When a PPMIP is selected from teh
first combo, the second combo only displays CRNs for that PPMIP.
There is also a subform on the form, that should then display all the
transaction details for the PPMIP / CRN combination.
When I select the subform, I need to set up the Child & Master field
links. However, when I try to do that, I get the message "Can't build
a link between unbound forms".
The subform has the following properties:
SourceObject - sfrm_TransDetails
The RecordSouorce for the subform is:
SELECT Table2.TransAmt, Table2.TransDate, Table2.MSN, Table2.MSN2,
Table2.TransID FROM Table2;
Can anyone tell me what I'm doing wrong and how to fix this?
TIA
Duncs
the data correctly. Here's what I have...
I have two tables.
Table1 - Contains Company IDs
Only field is PPMIP
Table2 - Contains transactions against each company ID
Fields are PPMIP, CRN, TransAmt, TransDate, TransID
So, my main form has two combos on it, one for the PPMIP from Table1
and one for the CRN form Table2. When a PPMIP is selected from teh
first combo, the second combo only displays CRNs for that PPMIP.
There is also a subform on the form, that should then display all the
transaction details for the PPMIP / CRN combination.
When I select the subform, I need to set up the Child & Master field
links. However, when I try to do that, I get the message "Can't build
a link between unbound forms".
The subform has the following properties:
SourceObject - sfrm_TransDetails
The RecordSouorce for the subform is:
SELECT Table2.TransAmt, Table2.TransDate, Table2.MSN, Table2.MSN2,
Table2.TransID FROM Table2;
Can anyone tell me what I'm doing wrong and how to fix this?
TIA
Duncs