Skip to content

Verify_Data_Loss - cDbCJGrid

Sends the Verify_Data_Loss_msg message when user action causes the program to get this function

Type: Function
Return Data Type: Integer

Syntax

Function Verify_Data_Loss Returns Integer

Call Example

Get Verify_Data_Loss to IntegerVariable

Description

This Verify_Data_Loss function sends the Verify_Data_Loss_msg message when user action causes the program to get this function.

That message displays the verification prompt and processes user response to it. If users respond to allow the data loss, this function returns zero (0) and the requested action proceeds; all other responses result in the request being cancelled and the state of the program is restored to that immediately before the action was requested. Intended to be sent anywhere the potential for a loss of data exists.

Sent by Request_Clear and Request_Clear_All.

Verify_Data_Loss_msg is not sent unless Verify_Exit_msg is defined.

Return Value

If users respond to allow the data loss, this function returns zero (false) and the requested action proceeds; all other responses result in a return value of true