Dataset.Delete |
Top Previous Next |
Syntax function Dataset.Delete(ADataset: pointer): boolean
Alternative Names
Description Deletes the current row in dataset ADataset, returns TRUE if successful, FALSE otherwise. In order to delete the row of data, you need to have the primary key column(s) in the dataset SELECT clause.
See also
Example execute udsblock() as declare variable resultbool boolean; begin /* create the data set */ select employeeid, emp_name, salary, bonus_perc from test_data order by employeeid as dataset mydata; try /* delete current row */ Dataset.Delete(mydata); finally Dataset.Close(mydata); end end |