CLEAR( ) method (ProDataSet Object Handle)
Removes all elements from a dynamic ProDataSet object including buffers and relations.
Return type: LOGICAL
Syntax
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.