guides:programming:programmers_reference_manual:by_and_by_dsnd_run_report_keyword

By and By-DSND

Sorts data within a Run_Report report.

By COLUMN

- OR -

By-DSND COLUMN

By arranges the list or report according to the order of the contents of a column.

To create a list or report sorted in descending (reverse) order, use the keyword By-DSND.

* List Customer by State in State order

.

stmt = 'LIST CUSTOMERS CUSTOMER_NAME STATE BY STATE"

Run_Report("",stmt)

 

* List Customer by State in State descendig order.

 

stmt = 'LIST CUSTOMERS CUSTOMER_NAME STATE BY-DSND STATE"

Run_Report("",stmt)
  • guides/programming/programmers_reference_manual/by_and_by_dsnd_run_report_keyword.txt
  • Last modified: 2024/06/19 20:20
  • by 127.0.0.1