Chapter 8: DataWindow Events  Categories of DataWindow events

Chapter 8: DataWindow Events

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





Copyright © 2004. Sybase Inc. All rights reserved. Categories of DataWindow events

View this book as PDF