I have a report that displays the "Date", a count of "Refused" and a count of all "case numbers" for that particular day. I have a group (group:1) that is of the date the cases were entered. The Detail section has other data from that case in it, but is hidden. The group header is also hidden, but with the "Group #1:Name" in the group:1 footer along with that, the count of "Refused" from a field named "Status" and another count of all case numbers for that date. I have a formula that will produce a repeating pattern of the letters "A", "B", "C" in the group footer. this is the formula I have to do that;
What I would like to do is to set a starting date for "A" and place the corresponding "A, B or C" in the group footer depending on the the date displayed in the footer. I do select a range of dates to print in the report by use of a selection paremeter. At present, I have to go back through a calendar to find which shift ("A", "B" or "C"
worked on the starting date of the report and change the formula as needed. Is there some way I can tell Crystal to, say, start the yaer off with "B" and calculate which letter of the pattern to place on the first date on the report? My report looks as bellow;
btw; Crystal Reports 9.2
and Crystal 8.5,
database; LAN, ODBC (RDO)
any help will be appreciated.
Phillipg
Code:
if remainder(groupnumber,3) in 1 to 1
then "B Shift" else
if remainder(groupnumber,3) in 1 to 2
then "C Shift" else "A Shift"
Code:
02/01/04 5 20 B
02/02/04 8 36 C
02/03/04 11 29 A
02/04/04 4 29 B
02/05/04 6 23 C
02/06/04 8 27 A
02/07/04 7 19 B
02/08/04 9 20 C
and so on
btw; Crystal Reports 9.2
and Crystal 8.5,
database; LAN, ODBC (RDO)
any help will be appreciated.
Phillipg