Related Information Examples & Tutorials
Not sure what new and improved features are in the latest software? Just contact us to find out!
“ Each time I turn to you for assistance, I leave even more impressed with the time and attention you have for the issues we encountered. ” Paul S.

How To Exclude Multiple Transaction Types From Reports

This code snippet will exclude multiple transaction types from a report.

You can exclude more than one transaction type using the same transaction loop. There are two ways to do this.

1. When the transaction types are sequential, you can use a range.

Example:

@tr no total WHERE ( @tr.ty != 101 .. 109 )

This WHERE clause will skip all transactions with Type 101 up to and including 109.

2. When the transaction types that you want to exclude are not sequential, you can use multiple WHERE clauses in the same loop.

Example:

@tr WHERE (@tr.ty != 101) WHERE (@tr.ty != 398)

With these two WHERE clauses, this code will skip all transactions with Type 101 or Type 398.

See Also

- Report Topics Index

Top of page.

Was this page helpful? Do you have any comments on this document? Can we make it better? If so how may we improve this page.

Please click this link to send us your comments: helpinfo@collect.org

Collection Advisor Veracode Verified DBA RMA ACA Member