G
Guest
I have merged two tables together using a union query. The tables I have
merged are linked tables from a SQL Database and cannot be amended.
I the tables have multiple rows with the same "order no." (see example
below). I am using the query to pick up prices on a form, however if you
select a row with an order no. (10) and specific item no. (70) it is picking
up the price from the first row (50) with the "order no" value rather than
the one selected (value should be 105)
ie
Order no Item No Price
10 50 50
10 60 45
10 70 105
Is there any way to get the union query to give each row a unique id
(autonumber).
Thanks
Suzanne
merged are linked tables from a SQL Database and cannot be amended.
I the tables have multiple rows with the same "order no." (see example
below). I am using the query to pick up prices on a form, however if you
select a row with an order no. (10) and specific item no. (70) it is picking
up the price from the first row (50) with the "order no" value rather than
the one selected (value should be 105)
ie
Order no Item No Price
10 50 50
10 60 45
10 70 105
Is there any way to get the union query to give each row a unique id
(autonumber).
Thanks
Suzanne