Set Continue Message - GRID SENDMSG() Function 82 BBj


For this topic's original documentation, see Set Continue Message - GRID SENDMSG() Function 82.

BBj-Specific Information

Syntax

NULL$=SENDMSG(sysgui,id,82,0,msg${,context{,ERR=lineref}})

Description

This function sets the "Continue/Abort" message to be displayed when the grid control does not have a primary key and cannot write a new record. Set the parameter to one of the following to set a message, and then set the message in the string parameter:

Parameter

Description

sysgui

SYSGUI channel.

id

Grid control ID.

82

Number of this SENDMSG() function.

val




0

1

2

3

4

Always zero.

Insert about to happen.

Update about to happen.

Insert Error – Error during insert – Probably duplicate record

Update Deleted – record being updated has been deleted

Update Busy – Record being updated is currently busy by another process.

msg$

Message box title string and message string, each terminated with a linefeed ($0A$) character.

The return value is a null string.