IsNullRowID

See Also: RowId, RowId Helper Functions

Purpose

Determines if a RowId value is null.

Return Type

Boolean

Syntax

 

(IsNullRowId( {RowId} ))

 

Where:

Example

 

Function RefindLastRecord returns Boolean

    RowId riRow

    Boolean bFound

 

    Get priLastRow to riRow

    If (IsNullRowId(riRow)) begin      

        Send RecordDoesNotExist

    End

    Else Begin

        Move (FindByRowId(Customer.File_Number, riRow)) to bFound

    End

    Function_return bFound

End_Function  // RefindLastRecord

 

Notes

IsNullRowId returns true if the value of the RowId variable is null. This is the only way you can test if a RowId variable is "empty" (i.e., null).