Delete Row

A row can be deleted from a table simply by passing the ROWID in the calling method deteleRow(). You will not be able to delete more than one row at a time.

Ensure the following packages are imported:

copy
import com.zc.component.object.ZCObject; 
import com.zc.component.object.ZCTable; 
copy
//Create Base Object Instance 
ZCObject obj = ZCObject.getInstance(); 
//Get a Table Instance referring the table ID on base object 
ZCTable tab = obj.getTable(1510000000110121L); 
//Delete a single row with its ROWID 
tab.deleteRow(1510000000109115L);

Last Updated 2023-09-03 01:06:41 +0530 IST

ON THIS PAGE