Board index » delphi » TABLE IS BUSY message when trying to pack a dbase table

TABLE IS BUSY message when trying to pack a dbase table

What causes a table to be busy?  I thought packing a table would be a snap,
but I must be doing something wrong.  I'm Using Delphi-5 and the
DBiPackTable
function.

Thanks in Advance

 Sterling

 

Re:TABLE IS BUSY message when trying to pack a dbase table


Quote
>What causes a table to be busy?  I thought packing a table would be a snap,
>but I must be doing something wrong.  I'm Using Delphi-5 and the
>DBiPackTable
>function.

Packing a table requires exclusive access.  If you have the table open some
where (like in the IDE) and try to pack it you get the message that the table is
busy

--
Brian Bushay (TeamB)
Bbus...@NMPLS.com

Re:TABLE IS BUSY message when trying to pack a dbase table


I thought the IDE might have been the problem but the DbiPackTable function won't
work
in my App, even though I did get it to work on a test table  I created from scratch.

I guess I'll try again and post some code if I can't figure it out.

Thanks Again So Much   :)

Sterling

Quote
Brian Bushay TeamB wrote:
> >What causes a table to be busy?  I thought packing a table would be a snap,
> >but I must be doing something wrong.  I'm Using Delphi-5 and the
> >DBiPackTable
> >function.

> Packing a table requires exclusive access.  If you have the table open some
> where (like in the IDE) and try to pack it you get the message that the table is
> busy

> --
> Brian Bushay (TeamB)
> Bbus...@NMPLS.com

Other Threads