>I'm still curious if you've got the error message 
>'Cannot open a non- select statement' or not. 
>(when you're using open)

Νο, I did not get such message.
Just a while ago, Graeme replied reporting this message "Cannot open a
non-select statement" which made me wonder why I did not, so, checked
again my application and relized that my function is called from inside
a try..end structure which is not ready to handle exceptions. This
simple thing started all this conversation, blame me. Now I'm seeking to
find how to handle exceptions my own.

Did you realy think that I could bother list members with such a
question if getting this clear message from my application? :-)

Panagiotis

-----Original Message-----
From: Joost van der Sluis [mailto:[EMAIL PROTECTED] 
Sent: Friday, March 17, 2006 12:33 PM
To: [email protected]
Subject: RE: [lazarus] SQL Statement


> >Cause now I still don't know if it's a bug or not.
> 
> No, it is not a bug. Non-Select statements need .ExecSQL method, not 
> .open. I had a couple of replies on this, tested and confirmed.

I'm still curious if you've got the error message 'Cannot open a non-
select statement' or not. (when you're using open)

Joost

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

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

Reply via email to