Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL command too complex - what should I do?
Message
 
 
To
10/12/1999 15:50:31
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00301958
Message ID:
00302027
Views:
36
>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)

Good point. Same goes for ORDER BY.
Mark McCasland
Midlothian, TX USA
Previous
Reply
Map
View

Click here to load this message in the networking platform