cheerfulskeptic
Programmer
I have a table with the field "Inactivedate" (SQL 2000, datetime type). This is usually blank for most records, but I need to access the field in a CR8 report to determine in a running total formula whether to count the current record or not.
Unfortunately, I have tried everything (isNull, = "", Date(0,0,0), and nothing seems to work.
I have heard this is a common issue - what is the resolution?
For example, if I have a running total field whose evaulation formula is the following...
{tbl_SystemWarranty.fld_installdate} <= Date ({?Year}, 05, 31)
and
cdate ({tbl_SystemWarranty.fld_inactiveDate}) < Date ({?Year}, 05, 31)
and {tbl_SystemWarranty.fld_isESIowned} <> "Y"
What is the problem here? The inactive date does not even work if I do a simple formula like
if cDate ({tbl_SystemWarranty.fld_inactiveDate}) <> Date(0,0,0) then ToText ({tbl_SystemWarranty.fld_inactiveDate}) else ToText ("blank"
Thanks
Unfortunately, I have tried everything (isNull, = "", Date(0,0,0), and nothing seems to work.
I have heard this is a common issue - what is the resolution?
For example, if I have a running total field whose evaulation formula is the following...
{tbl_SystemWarranty.fld_installdate} <= Date ({?Year}, 05, 31)
and
cdate ({tbl_SystemWarranty.fld_inactiveDate}) < Date ({?Year}, 05, 31)
and {tbl_SystemWarranty.fld_isESIowned} <> "Y"
What is the problem here? The inactive date does not even work if I do a simple formula like
if cDate ({tbl_SystemWarranty.fld_inactiveDate}) <> Date(0,0,0) then ToText ({tbl_SystemWarranty.fld_inactiveDate}) else ToText ("blank"
Thanks