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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only