Board index » delphi » Exclusive mode; Table is busy

Exclusive mode; Table is busy

What exactly means 'table is busy' when I want to switch to exclusive
mode

 T.Active:=False;
 try
    T.Exclusive:=True;
    T.Active:=True;    >>  (!!! Error  Table is busy!!)
 Check(DBIPackTable(T.DBHandle,T.Handle,nil,szDBASE,TRUE));
......
All tables have Active, Exclusive =False (Object Inspector Window)
All used Tables have Active :=False;     (code)

Thanks for help
Ches

  vcard.vcf
< 1K Download
 

Re:Exclusive mode; Table is busy


Quote
In article <37651BDA.5DBFB...@ipin.edu.pl>, Czeslaw glazowski wrote:
> What exactly means 'table is busy' when I want to switch to exclusive
> mode

It means that it is open elsewhere. A common cause for this is leaving
the table active in the IDE and then execuring.

 Mike Orriss (TeamB)
 (No e-mail replies, please, unless explicitly requested!)

Re:Exclusive mode; Table is busy


Tables may also be active in DB/SQL Explorer and Database Desktop.

Edgar D. Jordan
sp...@k-net.edu

Quote
czeslaw glazowski wrote in message <37651BDA.5DBFB...@ipin.edu.pl>...
>What exactly means 'table is busy' when I want to switch to exclusive
>mode

> T.Active:=False;
> try
>    T.Exclusive:=True;
>    T.Active:=True;    >>  (!!! Error  Table is busy!!)
> Check(DBIPackTable(T.DBHandle,T.Handle,nil,szDBASE,TRUE));
>......
>All tables have Active, Exclusive =False (Object Inspector Window)
>All used Tables have Active :=False;     (code)

>Thanks for help
>Ches

Other Threads