Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

M:M getting erroneous data

Status
Not open for further replies.

Leventcos21

Technical User
Oct 7, 2004
77
US
Hi, I have form /subform that holds names for a field called process owner. Some records may have multiple Process Owners.

I noticed that when I scroll to the bottom of my combo there are numbers at the end, which I did not add.

tblNCR
NCRID (PK)

tblOwnerDet
NCRID (PK)
PROCID (PK)

tblProcOwner
ProcID(PK)
OwnerName

For example, If I select John Doe (1) on the list, When I go into tblOwnerDet there is a 21 for ProcID, rather than a 1

Why is this happening
 
tblOwnerDet
NCRID (FK)
PROCID (FK)

Make a composit index ont the two fields, but do not make them primary keys.
 
should read
Make a composite index on the two fields
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top