Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: BBST
  • Order by date
  1. BBST

    CR asking for value in strange place

    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] :=...
  2. BBST

    CR asking for value in strange place

    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...
  3. BBST

    CR asking for value in strange place

    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...
  4. BBST

    Pagecount

    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.
  5. BBST

    Subtracting from a running total?

    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...
  6. BBST

    CR asking for value in strange place

    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...

Part and Inventory Search

Back
Top