Previous Next

GetVSTHandle( ) method
Returns the handle of a valid VST temp-table.
Return type:
Access:
Applies to:
 
Syntax 
GetVSTHandle(INPUT VST-ID)
VST-ID
An integer expression which evaluates to a valid VST ID. The method raises an error if an invalid value is specified for the ID.
Example:
 
USING Progress.Database.*.
 
DEFINE VARIABLE hVst AS HANDLE NO-UNDO.
 
hVst = TempTableInfo:GetVSTHandle(VSTTableIds:ACTIOTYPE).
 
The GetVSTHandle() method creates a dynamic temp-table for the VST and returns the handle to the caller. Subsequent calls to the method with the same VST return the same temp-table handle. You cannot call the CLEAR() method on the temp-table handles that you obtain with GetVSTHandle() method. You cannot set the TRACKING CHANGES attribute on the buffer of the VST temp-table handles. Any method on the temp-table that is used to create, update, or delete a record in a temp-table VST will fail.

Previous Next
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates.