I am using crystal 10, and I am having trouble grouping the results of a formula. I need to count the number of occasions that an event takes place, and I need to group it in the following groups:
1,2,3,or 4
I used this select case statement to create a value:
numbervar tests;
select count({UAOrders.OrderID},{UAOrders.Client_rsn})
case 1 to 1 : tests:=1
case 2 to 2: tests:=2
case 2 to 3: tests:=3
case 4 to 1000000: tests:=4
default: tests:=0
OrderID is the unique ID and is created when a new sample is obtained. Client_rsn is the unique ID for the client that gives the new sample.
I named the formula Frequency, and it will display in the detail section of my report when I drag the formula from the Field Explorer. But, the Frequency formula is not visible/accessible in the group expert or sort expert.
Thanks in Advance
1,2,3,or 4
I used this select case statement to create a value:
numbervar tests;
select count({UAOrders.OrderID},{UAOrders.Client_rsn})
case 1 to 1 : tests:=1
case 2 to 2: tests:=2
case 2 to 3: tests:=3
case 4 to 1000000: tests:=4
default: tests:=0
OrderID is the unique ID and is created when a new sample is obtained. Client_rsn is the unique ID for the client that gives the new sample.
I named the formula Frequency, and it will display in the detail section of my report when I drag the formula from the Field Explorer. But, the Frequency formula is not visible/accessible in the group expert or sort expert.
Thanks in Advance