Expressions that refer to DataWindow object properties and data are not verified until your application runs.
When your script is compiled, PocketBuilder does not verify the parameters of the expression that follow the Object property. Your application can select the DataWindow object in a DataWindow control during execution without invalidating the compiled script.
If the datatype of the expression is not compatible with how the expression is used, or if the specified rows or columns do not exist, then an error will occur during execution.
You can handle the error by surrounding the expression in a try-catch block or by writing a script for the DataWindow Error event.
Copyright © 2004. Sybase Inc. All rights reserved. |
![]() |