package Selection;

import j4d.open.*;

class Examplet {

  /* doDeleteSelection delete all the records of the targetTable
  */
  public void doDeleteSelection(opProcess process, int targetTable) throws opException {

    try{
      opTable mTable = new opTable(targetTable);
      opSelection mSelection = process.AllRecords(mTable);
      process.DeleteSelection(mSelection);
    }
    catch (opException er){throw er;}

  }

}