rovolution2
Registered User.
- Local time
- Yesterday, 19:04
- Joined
- Jul 29, 2008
- Messages
- 20
I want to make a query only do formatting if a certain set of criteria are met (field value does not equal 0 or null).
Can i do this after i type the SELECT statement, such as:
SELECT IIf([Field] = 0 OR [Field] IS NULL, [Field] AS [FieldRep], Format([Field] AS [FieldRep], '0.00%')) FROM table;
Is a statement like the above possible? Thanks
Can i do this after i type the SELECT statement, such as:
SELECT IIf([Field] = 0 OR [Field] IS NULL, [Field] AS [FieldRep], Format([Field] AS [FieldRep], '0.00%')) FROM table;
Is a statement like the above possible? Thanks