dukeslater
Technical User
I may be especially stupid today, but how can I test to see if a variable value is null in CRXIR2?
whileprintingrecords;
numbervar v_appID;
v_appID := maximum({Command.appgroupID});
v_appID;
The variable defaults to 0, but if the report returns no records then it's being assigned a null value. If it is null then I need some report elements to format differently. I could probably do the same thing with recordcount, but now it's bugging me as to how this should be done.
These don't work:
isnull(v_appID)
if not (v_appID in 1 to 20) then v_app := 99
as well as a few other less elegant stabs at it...
Thanks.
whileprintingrecords;
numbervar v_appID;
v_appID := maximum({Command.appgroupID});
v_appID;
The variable defaults to 0, but if the report returns no records then it's being assigned a null value. If it is null then I need some report elements to format differently. I could probably do the same thing with recordcount, but now it's bugging me as to how this should be done.
These don't work:
isnull(v_appID)
if not (v_appID in 1 to 20) then v_app := 99
as well as a few other less elegant stabs at it...
Thanks.