home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Windoware
/
WINDOWARE_1_6.iso
/
source
/
tpwpxeng
/
tbladd.pas
< prev
next >
Wrap
Pascal/Delphi Source File
|
1991-07-22
|
417b
|
24 lines
program TblAdd;
uses PXEngine, WinCrt;
const SourceTable = 'Table1';
DestTable = 'Table2';
var PxErr: Integer;
procedure PX(Code : integer);
begin
writeln(PXErrMsg(Code));
end;
begin
PX(PXWinInit('MyApp', pxShared));
(* Add one table to another *)
PxErr := PXTblAdd(SourceTable, DestTable);
if PxErr <> PxSuccess then
Writeln(PxErrMsg(PxErr));
PX(PXExit);
end.