Tek-Tips,
Is there a way I can check for NULL value in a SQL SELECT statement and if NULL is TRUE then change that value from NULL to something usefull like 0.00?
For example:
SELECT Sum(Quanty * Price)AS ExtendedTotal FROM Events
...bla..bla...bla
If ExtendedTotal returns NULL, can I change ExtendedTotal to say another field value like Events.Price2 and have that be the value assigned to ExtendedTotal to be returned in the recordset?
Thank you for all your suggestions.
Tom (maxflitom)
Is there a way I can check for NULL value in a SQL SELECT statement and if NULL is TRUE then change that value from NULL to something usefull like 0.00?
For example:
SELECT Sum(Quanty * Price)AS ExtendedTotal FROM Events
...bla..bla...bla
If ExtendedTotal returns NULL, can I change ExtendedTotal to say another field value like Events.Price2 and have that be the value assigned to ExtendedTotal to be returned in the recordset?
Thank you for all your suggestions.
Tom (maxflitom)