About return values for DataWindow events

Use a RETURN statement as the last statement in the event script. The datatype of the value is long.

For example, in the ItemChanged event, set the return code to 2 to reject an empty string as a data value:

IF data = "" THEN

		RETURN 2