Delete Data

  1. You can delete a row completely.
  2. You cannot delete more than one row at a time.

Delete a row

A row can be deleted from a table simply by passing the ROWID in the calling method deteleRow().

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);

ON THIS PAGE