Hello,
I am having a few problems with one of my date parameters:
I want the user to thave the option to either enter a date - or leave the parameter blank. If the param remains blank then I want a the following date to be displayed in the record:
31/12/9999
I have tried using the following code - But crystal 8.5 says that a boolean is required. This works fine with string formulas - any Ideas.
(
if not isnull ({?date_param}) then
{table.datefield} = {?date_param}
else
if if isnull ({?date_param}) then
cdate (9999,01,01)
)
Thanks in advance.
APB
APB
"Don't be a stranger - Just be strange
I am having a few problems with one of my date parameters:
I want the user to thave the option to either enter a date - or leave the parameter blank. If the param remains blank then I want a the following date to be displayed in the record:
31/12/9999
I have tried using the following code - But crystal 8.5 says that a boolean is required. This works fine with string formulas - any Ideas.
(
if not isnull ({?date_param}) then
{table.datefield} = {?date_param}
else
if if isnull ({?date_param}) then
cdate (9999,01,01)
)
Thanks in advance.
APB
APB
"Don't be a stranger - Just be strange