Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
View Macro Substitution in a SQL statement
Message
From
29/09/1997 15:24:26
 
 
To
29/09/1997 15:18:39
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00052240
Message ID:
00052258
Views:
31
>How do you look at a SQL statement that has macro substitution in it before it executes?

If you have some concerns or get errors, than you can just check macros part in messagebox:
cMacros="Where .T."
=messagebox(cMacros)
Select * From Table1 &cMacros.

BTW, you can collect whole command line and look at it and\or run as macros:
cCommand="Select * From table1 "+cWherestring
*** check cCommand in Debug window or using messagebox
&cCommand.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform