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!

Allright I'm Confused

Status
Not open for further replies.

dynamictiger

Technical User
Dec 14, 2001
206
AU
I have two tables set up something like:

tblMsg
ChemMsgID
Msg

tblParameter
ParamID
other stuff
ChemMsgID

In the table tblMsg I have been adding and deleting messages so I now have ChemMsgID like:
1, 8, 14,15,16 etc

But when I access ChemMsgID from tblParameter I am getting Id numbers of:
1,2,5,8,11,12,14,15 etc

I do not understand why deleted messages ID are still present in the parameters table nor do I know where to start to look for why.
 
Do you have a relationship set up between the two tables? And if so did you select cascade delete on the relationship?
If you don't have a relationship set up on your tables then this will have happened, as access didn't know that teh two fields were to be related.

Transcend
[gorgeous]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top