?
Solved

Pack a dbf table

Posted on 2003-03-24
2
Medium Priority
?
909 Views
Last Modified: 2011-10-03
In past I used next code for this job:

 MainForm.Lista.Active := False;
 try    MainForm.Lista.Exclusive := True;
    MainForm.Lista.Active := True;
    DbiPackTable(MainForm.Lista.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!
0
Comment
Question by:ginsonic
2 Comments
 
LVL 9

Author Comment

by:ginsonic
ID: 8196136
Solve it. Stupid me, I opened same table with Database Desktop :)
0
 

Accepted Solution

by:
SpideyMod earned 0 total points
ID: 8196636
PAQ'd and points refunded.

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
SQL Database Recovery Software repairs the MDF & NDF Files, corrupted due to hardware related issues or software related errors. Provides preview of recovered database objects and allows saving in either MSSQL, CSV, HTML or XLS format. Ensures recov…
There may be issues when you are trying to access Outlook or send & receive emails or due to Outlook crash which leads to corrupt or damaged PST file. To eliminate the corruption from your PST file, you need to repair the corrupt Outlook PST file. U…
Suggested Courses

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question