G
Guest
I have inherited an Access DB and I have been trying to clean up extra
Qureies and replace with DCount.
I have been fairly successful but.......
I want to comine 2 that I am using and make them the inverse . One is
looking to Count Warrany repairs =DCount("[DATE
SHIPPED]","qryQualityListRepairsShippedbyDate","[WARRANTY] = 'Y'") - Seems to
work fine
The other counts a text field Called [Reason for Return] and I am counting
if the Field Starts with "DOA" or starts with "D.O.A." =DCount("[DATE
SHIPPED]","qryQualityListRepairsShippedbyDate","[REASON FOR RETURN] Like
'DOA*' OR [REASON FOR RETURN] like 'D.O.A.*'") Seems to work fine
Now I am Trying to Count Standard Repairs which would be Warranties NOT = to
"Y" or (NOT Like Starting with DOA* or Not Like Starting with D.O.A*). I
think the OR, AND - either I am getting an Error (Syntac) or the wrong
figure (Logic).
Any suggestions - Thanks
Joe
Qureies and replace with DCount.
I have been fairly successful but.......
I want to comine 2 that I am using and make them the inverse . One is
looking to Count Warrany repairs =DCount("[DATE
SHIPPED]","qryQualityListRepairsShippedbyDate","[WARRANTY] = 'Y'") - Seems to
work fine
The other counts a text field Called [Reason for Return] and I am counting
if the Field Starts with "DOA" or starts with "D.O.A." =DCount("[DATE
SHIPPED]","qryQualityListRepairsShippedbyDate","[REASON FOR RETURN] Like
'DOA*' OR [REASON FOR RETURN] like 'D.O.A.*'") Seems to work fine
Now I am Trying to Count Standard Repairs which would be Warranties NOT = to
"Y" or (NOT Like Starting with DOA* or Not Like Starting with D.O.A*). I
think the OR, AND - either I am getting an Error (Syntac) or the wrong
figure (Logic).
Any suggestions - Thanks
Joe