home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Windoware
/
WINDOWARE_1_6.iso
/
source
/
tpwpxeng
/
tblrefr.pas
< prev
next >
Wrap
Pascal/Delphi Source File
|
1991-07-22
|
513b
|
26 lines
program TblRefr;
uses PXEngine, WinCrt;
const TableName = 'Table';
var PxErr: Integer;
TblHandle: TableHandle;
procedure PX(Code : integer);
begin
writeln(PXErrMsg(Code));
end;
begin
PX(PXWinInit('MyApp', pxshared));
PX(PXTblOpen(TableName, TblHandle, 0, False));
(* Refresh to account for any changes by other users *)
PxErr := PXNetTblRefresh(TblHandle);
if PxErr <> PxSuccess then
Writeln(PxErrMsg(PxErr));
PX(PXTblClose(TblHandle));
PX(PXExit);
end.