Pack a dbf table

Posted on 2003-03-24
Medium Priority
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;
    MainForm.Lista.Active := True;

But now don't wish to work. Report that the table is busy :(

Question by:ginsonic
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Author Comment

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

Accepted Solution

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

Community Support Moderator @Experts Exchange

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
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…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

765 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