Dataset.Close |
Top Previous Next |
Syntax function Dataset.Close(ADataset: pointer): boolean
Alternative Names
Description Closes the dataset ADataset to free up resources and returns TRUE if the dataset was closed, FALSE otherwise.
See also
Example execute udsblock() as begin /* create the data set */ select employeeid, emp_name, salary, bonus_perc from test_data order by employeeid as dataset mydata;
try if Dataset.Active(mydata) then GUI.ShowMessage('Dataset is open now.'); finally Dataset.Close(mydata); end if not Dataset.Active(mydata) then GUI.ShowMessage('Dataset is closed now.'); end |