home *** CD-ROM | disk | FTP | other *** search
- #include <stdio.h>
- #include "pxengine.h"
-
- #define TABLENAME "table"
-
- int main(void)
- {
- TABLEHANDLE tblHandle;
- RECORDNUMBER recNumber = 5;
- int pxErr;
-
- PXInit();
- PXTblOpen(TABLENAME, &tblHandle, 0, 0);
-
- /* Go to specified record number */
- if ((pxErr = PXRecGoto(tblHandle, recNumber)) != PXSUCCESS)
- printf("%s\n", PXErrMsg(pxErr));
-
- PXTblClose(tblHandle);
- PXExit();
- return(pxErr);
- }