I think you are going to have to use the report setup method (that was discussed in another message thread) to change the oRpt:bWhile codeblock. Try using:
James Bott wrote:Because eof() respects filters and ordKeyCount() apparently doesn't.
if ! empty(::cAlias)
oRep:bSkip := { |n| (::cAlias)->( DbSkip( n ) ) }
oRep:bWhile := { || ! ( ::cAlias)->( Eof () ) }
endif
if ! empty(::cAlias)
oRep:bSkip := { |n| (::cAlias)->( DbSkip( n ) ) }
oRep:bWhile := { || ! ( ::cAlias)->( Eof () ) }
endif
oRep:bEnd := ::bGoTop
if !empty(::cAlias)
oRep:bSkip := { |n| (::cAlias)->( DbSkip( n ) ) }
oRep:bWhile := { || ! ( ::cAlias)->( Eof () ) }
endif
oRep:Activate()
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 33 guests