Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding a Group

Status
Not open for further replies.

kab555

Programmer
Jan 18, 2002
46
US
Hi,
Using Crystal Reports 8

Does anybody know why crystal does not show all available fields when attempting to add a group, or even a sort for that matter?? Frustrating to no end!
 
Is the field you are referring to a formula field? If so please post the formula Software Support for Macola, Crystal Reports and Goldmine
dgilsdorf@mchsi.com
 
Formulas that use aggregate operations such as sum and count can't be used for SORT or GROUP operations since
they are evaluated at the time sorting & grouping is already performed ("second pass").

Consider getting these values directly in SQL. If you explain the situation, we may be able to suggest a concrete approach.

hth,
- Ido

CUT (Crystal UTilities): e-mailing, exporting, electronic bursting & distribution of Crystal Reports:
 
in addition....formulas that contain a function such as "WhilePrintingRecords" or "EvaluateAfter()" cannot be used in grouping data.

If you have such a formula and want data sorted or grouped on its value just remove the function and all will be well.

Does that mean you should eliminate the use formulas such as "WhilePrintingRecords"...NO...this is a very important function...I include it with every formula that is not required for Grouping/Summary Operations/Sorting. These functions give you the control as to when formulas are evaluated and doesn't leave it to Crystal's whim. Jim Broadbent
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top