[DUG] the things you learn !
Todd Martin
toddm at kol.co.nz
Tue Jan 24 17:56:48 NZDT 2006
Thanks for that tip!
Todd.
On Mon, 23 Jan 2006 17:48, Jeremy Coulter wrote:
> This is sad but true, i ONLY just found out that if say you have an sql
> query that you are building up to be executed from a TQuery, i.e.
>
> qry.sql.add('select * from mytable)
> qry.open
>
> if you put a break point on the qry.open bit then in the debug
> evaluate/modify fomr, you can go
>
> qry.sql.savetofile('myfile.txt') and it will save it to file from the
> evaluate/modify form!!
>
> For those of you who already knew that, then you woud think after 8 years
> of Delphi I SHOULD HAVE KNOW THAT, but I didnt.....for those of you who
> didnt, well I hope it helps :-)
>
> saves having to comment and uncomment or use compiler directives to save
> the sql to file !
>
>
> Jeremy
More information about the Delphi
mailing list