Try OpenEdge Now
skip to main content
ABL Reference
Handle Attributes and Methods Reference : CLEAR( ) method (ProDataSet Object Handle)
 

CLEAR( ) method (ProDataSet Object Handle)

Removes all elements from a dynamic ProDataSet object including buffers and relations.
Return type: LOGICAL
Applies to: ProDataSet object handle

Syntax

CLEAR ( )
This method restores the state of the dynamic ProDataSet object to what it was immediately after the CREATE DATASET statement.
If an error occurs while executing the CLEAR( ) method, the method returns FALSE. Otherwise, it returns TRUE.