There are two ways to access property values in a DataWindow object:
Methods The Describe and Modify methods use strings to specify the property names. For example:
dw_1.Describe("empname.Border")
dw_1.Modify("empname.Border=1")
Expressions DataWindow property expressions use the Object property and dot notation. For example:
dw_1.Object.empname.Border = 1
li_border = Integer(dw_1.Object.empname.Border)
The technique you use depends on the type of error checking you want to provide and on whether you know the names of the controls and properties you want to access when the script is compiled.
Copyright © 2004. Sybase Inc. All rights reserved. |
![]() |