Macro: Report_Index

Module location: cReport.pkg line 1367 (view source)

Set a Reports Index and direction Format is: REPORT_INDEX BY|DOWN Index#|File.Field Set piOrdering property

  #IFSAME !1 DOWN
    Set pbFindDown to True
  #ELSE
    Set pbFindDown to False
  #ENDIF
  #IFCLASS !2 "F"     // if File.Field then figure out which
    #PUSH !i          // index number to use at run-time
    #PUSH !l
    #SET L$ !2        // get file#
    #SET I$ %!2       // get field# -- aha-new undocumented features
    Set piOrdering to (Which_Index(self,!l,!i))
    #POP L$
    #POP I$
  #ELSE
    Set piOrdering to !2 // if Index.# or # set piOrdering at compile-time
  #ENDIF
Module location: Report.pkg line 1408 (view source)

Set a Reports Index and direction Format is: REPORT_INDEX BY|DOWN Index#|File.Field Set Ordering property

  #IFSAME !1 DOWN
    Set Find_Down_State to True
  #ELSE
    Set Find_Down_State to False
  #ENDIF
  #IFCLASS !2 "F"     // if File.Field then figure out which
    #PUSH !i          // index number to use at run-time
    #PUSH !l
    #SET L$ !2        // get file#
    #SET I$ %!2       // get field# -- aha-new undocumented features
    Set Ordering to (Which_Index(self,!l,!i))
    #POP L$
    #POP I$
  #ELSE
    Set ordering to !2 // if Index.# or # set ordering at compile-time
  #ENDIF