Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL command too complex - what should I do?
Message
From
10/12/1999 15:50:31
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00301958
Message ID:
00301988
Views:
29
Hi Mark,

> group by &cGroupBy ;
> order by &cOrderBy ;

Just an addition, I would add the "GROUP BY" to the variable, otherwise, if its dynamic it may be empty, and may couse an error.

lcGroupBy = iif(empty(cGroupBy), '', 'group by ' + cGroupBy)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform