Subject | Re: [firebird-support] Re: Use of params in where clause on 'BLOB SUB_TYPE 1' fields? |
---|---|
Author | Martijn Tonies |
Post date | 2006-02-08T15:01:17Z |
> ExecQuery;Would make more sense to call .Open, wouldn't it?
> finallyIs Open a method? I thought that calling .Open actually
> if Open then
opens it. Shouldn't that be: if Active ?
> > Are you sure?Well, if the "close" fails, for any reason, any code after it will
> Close;
> Not good to close the query when its open in a finally clause?
not be executed, like this Commit, for example.
> Transaction.Commit;Martijn Tonies
> end;
> end;
> finally
> FreeAndNil(TempStream);
> end;
Database Workbench - tool for InterBase, Firebird, MySQL, Oracle & MS SQL
Server
Upscene Productions
http://www.upscene.com
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com