Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Question about one of your posts
Message
General information
Forum:
Visual FoxPro
Category:
Crystal Reports
Miscellaneous
Thread ID:
00683787
Message ID:
00710353
Views:
31
Jon,

What is the row or field in the FRX that controls grouping. Is it Objtype = 9 and Objcode = 3? Why not parameterize the grouping statement in one report the EVAL(parameter for group) and then use the same parameter to count, etc.? What we are trying to do with this strategy is cut down on what we have to manage in the report template.

Regards,

Jim Smith
>>What I'm interested in is how the users choose the filtering criteria.
>>1) Does it have to do with how the report is designed in crystal? Meaning, they can change the values of the parameters in the filter but not actual apply a whole new filter.
>>2) Or can you apply any filter condition (meaning create at viewing time) to the canned report.
>
>Shawn,
>
>I apologize for the delay in responding to you. I've been on vacation in Europe for a couple of weeks (woohoo!) and just catching up on the work that has piled up in the meantime. :)
>
>For the criteria selection, we're making use of a 3rd party tool called Query Maker which basically has a wizard-like interface for stepping users through building selection and/or sorting preferences. Query Maker comes with field dictionary tables that need to be populated. At runtime I present the user with a list of fields that they can choose from to use in the criteria and let Query Maker build the actual filter string that I append to the SELECT statement that I pass to the Crystal Report Object's SQLQueryString property.
>
>For sorting/totaling, I already have a max of 10 group footers defined in the template that are suppressed. If the user decides to subtotal on a field, I unsuppress the footer and change the grouping field condition to be what the user has chosen.
>
>I generally don't use Crystal's parameter fields that much.. only in a couple of specific situations. Otherwise, I just manipulate formula fields directly from within VFP code and the report itself then uses those formula field values for its purposes.
>
>I hope this was somewhat helpful. Let me know!
>
>Laterness,
>Jon
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform