I
i herscher
I have set up a primary table (StudentMain) with two child tables (TermInfo
and SupportDetail) each containing different information ... there is never
more than 1 SupportDetail or 1 TermInfo record for a StudentMain record. A
StudentMain record may have a SupportDetail rec or a TermInfo rec or neither
or both. So the relationships are separate and 1-to-1 and both use FK joined
to the PK in StudentMain with 1-to-1 relationship.
I have a single query which links the 3 tables which doesn't seem to work
consistently when creating new recs in the child tables. For an existing
StudentMain record
.. TermInfo create works but subsequent then SupportDetail fails (related
record required ...)
.. SupportDetail create works but then subsequent TermInfo fails (as above)
.. just to add to the mix, sometimes both work
Can anyone give me a clue where I am going wrong?
and SupportDetail) each containing different information ... there is never
more than 1 SupportDetail or 1 TermInfo record for a StudentMain record. A
StudentMain record may have a SupportDetail rec or a TermInfo rec or neither
or both. So the relationships are separate and 1-to-1 and both use FK joined
to the PK in StudentMain with 1-to-1 relationship.
I have a single query which links the 3 tables which doesn't seem to work
consistently when creating new recs in the child tables. For an existing
StudentMain record
.. TermInfo create works but subsequent then SupportDetail fails (related
record required ...)
.. SupportDetail create works but then subsequent TermInfo fails (as above)
.. just to add to the mix, sometimes both work
Can anyone give me a clue where I am going wrong?