Need to select records with empty currency field

sync

Registered User.
Local time
Today, 10:33
Joined
Jan 9, 2006
Messages
14
I've tried the following WHERE clause to return records where the 'costper' field is empty and neither return any results.

WHERE NZ([Transactions].[CostPer])=0

WHERE [Transactions].[CostPer]=0

WHERE IsNull([Transactions].[CostPer])
 
Have you tried the following?

SELECT fieldname
FROM Transactions
WHERE Transactions.[CostPer] IS NULL;
 
Thanks. I just realized that the other clauses were working. Yours is the best way to do it though.
 

Users who are viewing this thread

Back
Top Bottom