Hello to all
I used the following code to make a Filter on a Tbrowse object.
First I made a scope on the ADR_NR with the help of Comix Index's, then I
added
the set filter command.
Example:
Select LIEFER
LIEFER->(OrdSetFocus("LIEFADR"))
set scope to
set scope to { || Str(SFAKTU->ADR_NR,6) }
SET FILTER TO (LIEFER->SR_NR == 0 .or. LIEFER->SR_NR == vSrNr) .and.
LIEFER->BETRAG # 0 .and. !LIEFER->BEZAHLT
....
ob := TBrowseDb(2,1,11,40)
I happy with this simple way to go and the speed to display the selected
data's could be faster!
I also tryed a Browsing within a while condition with SkipBlock()
function but the speed are about the same.
Are they a better way to make a complex filter on a Tbrowse object class ?
Many thanks in advance for any help?
Otto