Question : how do I conditionally format number in query result to show red if negative

Hi

I have an Access query that shows certain numbers based on an expression I created.

If the results are negative numbers then I want to show them as red.

How can I do this?

sql snippet attached

the expression used is
dateOfSearchExpiry]-Date() AS [days to search expiry]
1:
2:
3:
SELECT [completion matters].ID, [completion matters].clientName, [completion matters].dateOfCompletion, [completion matters].dateOfSearchExpiry, [completion matters]![dateOfSearchExpiry]-Date() AS [days to search expiry]
FROM [completion matters]
WHERE ((([completion matters]![dateOfSearchExpiry]-Date())<21));

Answer : how do I conditionally format number in query result to show red if negative

ensure you are the sole user

drop constraint

commit;

update table set field = NULL
Random Solutions  
 
programming4us programming4us