Null values

If you are using the SourceFields object to retrieve data from a source, but no value exists for that field in the current row, a NULL value is returned. You can’t check for a NULL value directly. Instead, you must use the VBScript IsNull function. The following example shows how to use this function.

If IsNull(SourceFields(“Fax”)) Then
	CancelDocument “No fax number”, 5000, “Fax”
End If

 


 


Documentation Feedback