linking 2 master/child fields

D

dp

hi guys,

I have a sub table that I wish to store employees that relate to either an
invoice or credit memo table. Both invoice and credit memo tables have
autonumber fields and I realize that on my form/ subform that may be
autonumbers from invoice and credit memo that are the same. So, I wanted to
create another field in the employees table that would separate the invoices
from credit memos. So, I put another field that would act as a 2nd foreign
key

Now on my form, subform for invoice lets say i have specified 2 link fields:

Child: Invoice_IDKEY;TempID
Master TxnID;TempID

The 2 key fields get stored in the emp form, however when I go back to that
invoice # they dont link up. I checked the emp tables and the correct
values are being set. Is there something I am missing?

thanks david
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top