Re: display select query in window ? by Cindy
Cindy
Fri Feb 03 10:13:16 CST 2006
Hi Luqman,
You haven't said which version of FoxPro you are using but you can copy the
query and paste it into the Command window, which saves everything you type.
Then when you want it to run again you can scroll back in the Command window
and run it.
Alternatively, if that particular query is something you want to do a lot
you could add a hot key for it in your startup program.
If you want to see the SQL text you can select and copy it and then use ?
_ClipText in the Command window to write it to the VFP desktop.
--
Cindy Winegarden MCSD, Microsoft Visual FoxPro MVP
cindy_winegarden@msn.com www.cindywinegarden.com
"Luqman" <pearlsoft@cyber.net.pk> wrote in message
news:Oj0I2kJKGHA.2088@TK2MSFTNGP11.phx.gbl...
> If I run an query in prg file, say : select * from customers, I see the
> result.
>
> How can I view this query text "Select * from customers" after the prg is
> run, without opening the prg file.
>
> I actually want to view the last run query, not the result.
>