|
RecordsInTable |
|
package Selection;
import j4d.open.*;
class Examplet {
/* getRecordsInTable retrieve the last record number
*/
public int getRecordsInTable(opProcess process, int targetTable) throws opException {
int lastRecord;
try{
opTable mTargetTable = new opTable(targetTable);
process.RecordsInTable(mTargetTable);
lastRecord = mTargetTable.mRecordsInTable - 1;
}
catch (opException er){throw er;}
return lastRecord;
}
}
|
RecordsInTable |
|