>>Is it possible (in VFP 9, SP2), to dynamically change the data grouping field? I've been looking into the reportlistener class, but haven't run across any mention of this.
>>
>>The idea is to have a template report where the user can determine the sort order, set page breaks, etc dynamically. I have set this up in prior apps by passing an array which was evaluated by the group header. Seems a little archaic now that the report listener is available, but maybe it doesn't handle. Any ideas?
>
>See this message
Re: Programmatically control Group starts on new page Thread #
1342804 Message #
1343324 I'm guessing EVALUATE(lcGroupExpression) is your option.
Thanks Naomi, That's just what I am looking for and much easier than using the reportlistener class.