Drummermoose
Technical User
Hi
I'm trying to do a query in access from data on SQL server.
I want to be able to display all the lines which have the same order number if one of those lines has a certain critera.
At the moment I can get it to bring back only the certain line that has the critera(Suppliercode="REG"), not all the lines of the order which it is on.
I tried to do a seperate query to get the order no's where suppliercode = "REG" and then linked it to the 1st query to display all lines relating to the generated order no's, but it took about 10 mins to run and slows the system to a halt.
I hope this makes sense!
Thanks for any help you can give.
I'm trying to do a query in access from data on SQL server.
I want to be able to display all the lines which have the same order number if one of those lines has a certain critera.
At the moment I can get it to bring back only the certain line that has the critera(Suppliercode="REG"), not all the lines of the order which it is on.
I tried to do a seperate query to get the order no's where suppliercode = "REG" and then linked it to the 1st query to display all lines relating to the generated order no's, but it took about 10 mins to run and slows the system to a halt.
I hope this makes sense!
Thanks for any help you can give.