home *** CD-ROM | disk | FTP | other *** search
- program RecNext;
- uses PXEngine;
-
- const TableName = 'Table';
-
- var PxErr: Integer;
- TblHandle: TableHandle;
- begin
- PX(PXInit);
- PX(PXTblOpen(TableName, TblHandle, 0, False));
-
- (* Go to the next record in the table *)
- PxErr := PXRecNext(TblHandle);
- if PxErr <> PxSuccess then
- Writeln(PxErrMsg(PxErr));
-
- PX(PXTblClose(TblHandle));
- PX(PXExit);
- end.