Greetings:
I am using CR10 Pro & Datasources are DB2, MS SQL Server 2K and Oracle.
I tried to create a custom function using IsNull to check for a NULL datetime field value but this message displays "This function cannot be used within a custom function."
Is there some other syntax that can be used in the function to test for IsNull?
Here is the function:
====================
Function (numbervar AssignmtInUse, datetimevar LastScanDateNull)
If AssignmtInUse = 0
And IsNull(LastScanDateNull)
Then 1
Else 0
I am using CR10 Pro & Datasources are DB2, MS SQL Server 2K and Oracle.
I tried to create a custom function using IsNull to check for a NULL datetime field value but this message displays "This function cannot be used within a custom function."
Is there some other syntax that can be used in the function to test for IsNull?
Here is the function:
====================
Function (numbervar AssignmtInUse, datetimevar LastScanDateNull)
If AssignmtInUse = 0
And IsNull(LastScanDateNull)
Then 1
Else 0