jetspin
Programmer
- Mar 5, 2002
- 76
Hi.
I have 2 tables. Items and Trans. Items be on Trans many times with a foreign key. I have a contunuous forms of Items which contains and EDIT button to open up a form of trans associated with the item of the edit button. I open of the trans form passin the foreign key. It lists all
the trans's for that Item, BUT when I try to add a new transaction I get an error "cannot find record in tblItems with key matching trnItmdID"....
The form was able to list all the Trans recs for the Item, why does the linking key get lost? How do I get around this?
Thank.s
tblItems
itmItmID
tblTrans
trnTrnID
trnItmID
I have 2 tables. Items and Trans. Items be on Trans many times with a foreign key. I have a contunuous forms of Items which contains and EDIT button to open up a form of trans associated with the item of the edit button. I open of the trans form passin the foreign key. It lists all
the trans's for that Item, BUT when I try to add a new transaction I get an error "cannot find record in tblItems with key matching trnItmdID"....
The form was able to list all the Trans recs for the Item, why does the linking key get lost? How do I get around this?
Thank.s
tblItems
itmItmID
tblTrans
trnTrnID
trnItmID