package Selection;

import j4d.open.*;

class Examplet {

  /* setAllRecords return an opSelection that contains all records of the target table
  */
  public opSelection setAllRecords(opProcess process, int targetTable) throws opException {

    opSelection selection = new opSelection();

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

    return selection;
  }

}