CJ
Board Regular
- Joined
- Feb 22, 2002
- Messages
- 77
Hi
Can any see where I'm going wrong I have 2 tables joined in a Union Query when I put in all the fields I want (No Dups) I get Duplicates because of DQ errors is mainly in the address I.E. Adress 5 can be England, Great Britain or UK !!! Nightmare
So I want to just select on one field [OrderNumber] but get the query to show the whole line for that record. is this possible ?
I'm using this:
SELECT [OrdersMar10.OrderNumber],OrdersMar10.*
FROM [OrdersMar10]
UNION SELECT [OrdersApr10.OrderNumber],OrdersApr10.*
FROM [OrdersApril10]
ORDER BY [OrderNumber];
Thanks !!
Can any see where I'm going wrong I have 2 tables joined in a Union Query when I put in all the fields I want (No Dups) I get Duplicates because of DQ errors is mainly in the address I.E. Adress 5 can be England, Great Britain or UK !!! Nightmare
So I want to just select on one field [OrderNumber] but get the query to show the whole line for that record. is this possible ?
I'm using this:
SELECT [OrdersMar10.OrderNumber],OrdersMar10.*
FROM [OrdersMar10]
UNION SELECT [OrdersApr10.OrderNumber],OrdersApr10.*
FROM [OrdersApril10]
ORDER BY [OrderNumber];
Thanks !!