home *** CD-ROM | disk | FTP | other *** search
- #include <stdio.h>
- #include "pxengine.h"
-
- #define SOURCETABLE "table1"
- #define DESTTABLE "table2"
-
- int main(void)
- {
- int pxErr;
-
- PXInit();
-
- /* Add one table to another */
- if ((pxErr = PXTblAdd(SOURCETABLE, DESTTABLE)) != PXSUCCESS)
- printf("%s\n", PXErrMsg(pxErr));
-
- PXExit();
- return(pxErr);
- }