Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
/* Print all Customers displaying the Customer Name and Invoice Total fields and averaging the Invoice Total */
stmt = 'LIST CUSTOMERS CUSTOMER_NAME AVERAGE INVOICE_TOTAL'

Run_Report('',stmt)

/* This command will list all CUSTOMERS by order of state, putting a break between each state. 
At each break, the average invoice balance for all customers in that state will be displayed. 
An average of all invoice balances will be displayed at the end of the report. */

stmt = 'LIST CUSTOMERS CUSTOMER_NAME BREAK-ON STATE AVERAGE  '
stmt:= 'INVOICE_TOTAL BY STATE'

Run_Report("",stmt)