Slab_Rankle
Registered User.
- Local time
- Today, 13:20
- Joined
- Aug 10, 2011
- Messages
- 36
Hey guys,
I seem to have fallen victim to the evils of lookup fields...I'm trying to create a query that I can use in a mail merge, but my current table setup is giving me a lot of problems. Basically I have two tables, one called Creditors and one called CreditorInfo. Creditor info stores all the information about a creditor including their name, address, telephone numbers etc. The table Creditors stores different information, BUT, it looks up the contact details of a Creditor from the CreditorInfo table.
The second table (just named 'Creditors') looks up the name of the Creditor from CreditorInfo table and stores it in a field called 'Creditor'. There are two columns for this field, the first one stores the CreditorID from CreditorInfo and the second storing CreditorName. Now, when I do a mail merge it displays the CreditorID, NOT the CreditorName. Before I post my table structures I'm wondering if anyone would need to see every table (I can upload the backend) or just the two table structures that have been mentioned.
I realise this problems is occuring because I've used a lookup, which is incredibly evil, and I'm wondering if there's a way to fix this before I end up going insane....if anyone could help that'd be great!
I seem to have fallen victim to the evils of lookup fields...I'm trying to create a query that I can use in a mail merge, but my current table setup is giving me a lot of problems. Basically I have two tables, one called Creditors and one called CreditorInfo. Creditor info stores all the information about a creditor including their name, address, telephone numbers etc. The table Creditors stores different information, BUT, it looks up the contact details of a Creditor from the CreditorInfo table.
The second table (just named 'Creditors') looks up the name of the Creditor from CreditorInfo table and stores it in a field called 'Creditor'. There are two columns for this field, the first one stores the CreditorID from CreditorInfo and the second storing CreditorName. Now, when I do a mail merge it displays the CreditorID, NOT the CreditorName. Before I post my table structures I'm wondering if anyone would need to see every table (I can upload the backend) or just the two table structures that have been mentioned.
I realise this problems is occuring because I've used a lookup, which is incredibly evil, and I'm wondering if there's a way to fix this before I end up going insane....if anyone could help that'd be great!