From: jo on 21 May 2010 11:29 Hi, again All I did was to replace your suggested �where� state in my query as below, and then rerun it using the current data in the test database as already lisedt within these threads. SELECT A.Date_R, A.Received, A.ID, B.Colour FROM A INNER JOIN B ON A.Main = B.Main WHERE A.Received=-1 AND (B.Colour <>"Y" Or B.Colour Is Null); If you are suggesting that my approach is on the right lines, I will try debugging the query over the weekend and get back to you. Thank you for you guidance so far.
From: Marshall Barton on 21 May 2010 12:36 jo(a)jo.uk wrote: >All I did was to replace your suggested �where� state in my query as below, >and then rerun it using the current data in the test database as already >lisedt within these threads. > >SELECT A.Date_R, A.Received, A.ID, B.Colour >FROM A INNER JOIN B ON A.Main = B.Main >WHERE A.Received=-1 AND (B.Colour <>"Y" Or B.Colour Is Null); > > >If you are suggesting that my approach is on the right lines, I will try >debugging the query over the weekend and get back to you. > Sheesh, I had a blind spot, sorry. Try changing the INNER JOIN to a LEFT JOIN -- Marsh MVP [MS Access]
From: jo on 24 May 2010 13:01 Hi All up and running now. Thank you for your assistance.
First
|
Prev
|
Pages: 1 2 3 Prev: Mid string null value Next: Updating text field to new numeric field & moving minus sign to fr |