Try OpenEdge Now
skip to main content
ProDataSet Attributes and Methods : Accessing the handle of a ProDataSet

Accessing the handle of a ProDataSet

Through the handle of a ProDataSet, whether it is static or dynamic, you can access many attributes that give you information about the ProDataSet and the handles of its components. A few of these attributes are settable at run time to let you adjust the behavior of the ProDataSet. The ProDataSet also has methods you use to invoke behavior using the same handle. Remember that to get the handle of a static ProDataSet, you simply precede the reference with the DATASET keyword, as shown:
hDataSet = DATASET dsOrder:HANDLE.
You can also use the expression DATASET dsOrder:HANDLE in place of a handle within a larger ABL statement without assigning it to a variable at all.