Knowledgebase: Reports and Letters
Include transactions out of Range on where clause
Posted by on 05 October 2012 04:41 PM

The following code will allowing printing Max 25 specific Transactions

@de.tr no total
@varST = XOXOXOXO
@varST = @mm.yasoao if (@tr.ty = 101 .. 108 )
@varST = @mm.yasoao if (@tr.ty = 201 )
@varST = XOXOXOXO  if (@varCNT > 25 )
@mm no total where (@mm.yasoao = @varST) max = 1
@tr.pda<8>  @tr.ft<9> @tr.des<20>   @tr.rn<8>  @(tr.tu+tr.di)<10> @tr.tp<13> @tr.ti<13> @tr.tf<13>
@varCNT += 1
@mm

(0 vote(s))
Helpful
Not helpful

Comments (0)