ginsonic
asked on
Pack a dbf table
In past I used next code for this job:
MainForm.Lista.Active := False;
try MainForm.Lista.Exclusive := True;
MainForm.Lista.Active := True;
DbiPackTable(MainForm.List a.DBHandle , MainForm.Lista.Handle, nil, szdBASE, True);
MainForm.Lista.Active := False;
MainForm.Lista.Exclusive := False;
finally
MainForm.Lista.Active := True;
end;
But now don't wish to work. Report that the table is busy :(
HELP!
MainForm.Lista.Active := False;
try MainForm.Lista.Exclusive := True;
MainForm.Lista.Active := True;
DbiPackTable(MainForm.List
MainForm.Lista.Active := False;
MainForm.Lista.Exclusive := False;
finally
MainForm.Lista.Active := True;
end;
But now don't wish to work. Report that the table is busy :(
HELP!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER