Found the issue. I misplaced the ; for ending the loop.
WhilePrintingRecords;
CurrencyVar Array CustTotals;
CurrencyVar Array MonthTotals;
NumberVar intMonthIndex := Month ({BacklogSumm.DueDate});
NumberVar intLoopIndex := 0;
If OnFirstRecord Then
CustTotals[intMonthIndex] :=...
Yes, ultimately I do need to have two indexes. I have been changing/adding/removing things trying to get it to work. Looking at the OP, I had a = where it should have been a :=. In the mean time, I have added a second index to address the bug before it bit me. :)
CR now tells me that "The ) is...
As I said: The arrays are defined and initialized in a formula in the report header. Here's the code I used to do that.
WhilePrintingRecords;
CurrencyVar Array CustTotals;
CurrencyVar Array MonthTotals;
NumberVar Index := 0;
ReDim CustTotals[12];
ReDim MonthTotals[12];
For Index := 1 To 12 Do...
I would create a variable in the report header for the number of lines printed on the stub. Increment the variable by 1 in the stub details. Then, set the details section to suppress if the variable is > 12.
The @RemovePoints could be a simple formula. First, add @GoodShifts for tracking the last time an employee accrued points. Increment the formula for every shift:
@GoodShifts = GoodShifts + 1
Then, I would add this code into the code Madawc proposed above whenever points are accrued...
I am adding values for each customer by month. When the customer changes, the customer values will be added to report totals and then set to 0. The arrays are defined and initialized in a formula in the report header. I am receiving the error "A currency amount is required here."
I have placed...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.