Description: Returns the DATA_ID of the record displayed by the current DBForm.
Calling convention: CIP_GetCurrentDataID(): Integer
Parameters:
None.
Returns: Current DATA_ID, or -1 when no DBForm is assigned.
Availability: Default while a DBForm is active.
Example:
CurrentID := CIP_GetCurrentDataID();