|
-
Jul 4th, 2006, 05:46 AM
#1
Thread Starter
Addicted Member
[RESOLVED] Crystal Group Name
In Crystal XI is there any way I can test what field a particular group is using.
If you imagine a sales order I have report that can print the details in one of 3 seqeuences, line number, part number or bin number. If the report is printed in Bin sequence I need to create a formula to print some text. (The grouping is driven by a VB.Net app).
i.e.
if group field 1 = {salesorder.bin} then "message text" else ""
Hope it makes sense!
-
Jul 4th, 2006, 05:21 PM
#2
Thread Starter
Addicted Member
Re: Crystal Group Name
Cracked it!
if GroupingLevel ({salesorder.bin})=1 then "Warehouse Copy" else ""
Groupinglevel returns the group level of the field supplied, in the other sequences it returns 0 as its not a group by field.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|