all. using access 2003. I created a database with 3 tables ive been struggling with. I also created a form with 2 subforms. The main table consist of the invoice id(pk) and invoicenum(text field no dups). The second table consist of tracking id(pk), trackingnum (text field no dups) invoicenum(not indexed)(from invoice table 1:many). Third table AcctID(pk), trackingnum(from tracking table 1:1) Cost field, AccountCode.
For every invoice you can have many trackingnum.
For every trackingnum you can have 1 acctid.
The main form conisist of a combo box with Invoicenum. ; i've created a tracking subform so When users select the invoicenum all the cooresponding tracking numbers are listed in datasheet. So far everything was working until I tried to add the accounting info. It needs to show in the 2nd subform one tracking number to one acct info. I can only get info in datasheet form with multiple tracking numbers. it doesnt cooresponding to a single record. I ve seen it done in ex. use cust, order and product tables but I cannot get it. Please help!