Have you tried the following? Replace the variable names with you own.

   FIBTransaction.Active := false;
   FDatabase.Connected := false;


Graeme.


On 06/06/07, Arí Ricardo Ody <[EMAIL PROTECTED]> wrote:
Hi Bram!

First thank you for you answer. I try both
suggestions and the problem remains the same.

Then I begin to think about this whole trouble. I
remember that I take the project and transmit it
to my home and done some tests yesterday
night(here are 11:18 AM). Over there, the trouble
doesn't occur. I was lazy and do the tests with a
local database. I change my TIBConnection here to
a local database and bingo! The application begins to end normally.

It seems that the trouble occurs only when I put
a database located in the windows XP network in my TIBConnection...

Does this comment give new ideas? It seems that
the connection is not broke when  I close the
application. Yesterday I tried SQLQuery.Destroy before Self.Close...

Cheers


_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to