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!