TroyMcClure
Technical User
I'm losing my mind.
I have 2 tables--TicketHeader and TicketDetail.
Header PK key is:
OrdDate
OrdNum
TktNum
Detail PK key is:
OrdDate
OrdNum
TktNum
TktLine
I'm trying to create one-many as shown:
[tt]
Header Detail
OrdDate---OrdDate
OrdNum----OrdNum
TktNum----TktNum
[/tt]
But I get the error:
"No unique index found for the referenced field in the Primary table"
I've double checked the Indexes, the keys shown are valid, and even in the Relationship dialog the 3 Header fields are in bold. There are no orphaned detail records or even any header without details. The Relationship Type says 'One to Many'.
I do have an alternate key 'RecordID', an Autonumber, but this is NOT the PK, it's index is simply Unique. I even tried setting the Unique to 'No' for this index, and still no change.
What could be wrong--have I missed something painfully obvious?
Thanks,
=Troy
I have 2 tables--TicketHeader and TicketDetail.
Header PK key is:
OrdDate
OrdNum
TktNum
Detail PK key is:
OrdDate
OrdNum
TktNum
TktLine
I'm trying to create one-many as shown:
[tt]
Header Detail
OrdDate---OrdDate
OrdNum----OrdNum
TktNum----TktNum
[/tt]
But I get the error:
"No unique index found for the referenced field in the Primary table"
I've double checked the Indexes, the keys shown are valid, and even in the Relationship dialog the 3 Header fields are in bold. There are no orphaned detail records or even any header without details. The Relationship Type says 'One to Many'.
I do have an alternate key 'RecordID', an Autonumber, but this is NOT the PK, it's index is simply Unique. I even tried setting the Unique to 'No' for this index, and still no change.
What could be wrong--have I missed something painfully obvious?
Thanks,
=Troy