Search List Conditions

Martin Obongita martin.obongita at
Wed Feb 9 13:17:01 UTC 2022

 Hi Jacky and Rudolf,
Thank you.The filter below worked superb:    

Do iPrintDataList.$unfilter()

If iSearchActiveStatusList.iSearchactivestatusLinenum<>5

Do iPrintDataList.$filter($ref.activestatus_linenum=iSearchActiveStatusList.iSearchactivestatusLinenum)

End If

Rgds Martin O.

    On Wednesday, February 9, 2022, 01:41:30 PM GMT+3, Jacky ZEMRON <jacky at> wrote:  
 Do mylist.$filter($ref.$selected) after the search which select the lines who match

Envoyé de mon iPhone

> Le 9 févr. 2022 à 10:57, Martin Obongita via omnisdev-en <omnisdev-en at> a écrit :
> Hi Listers,
> I have iPrintDataList diplayed in a dataGrid object.    
> I wish to filter out and display only the records that fit a search criteria, so I use the line below:Do iPrintDataList.$search($ref.activestatus_linenum=iSearchActiveStatusList.iSearchactivestatusLinenum,kTrue,kFalse,kFalse,kFalse)
> The documentation says this command only selects 1 line of record found.    But I wish to select and display only the lines (ALL the lines) that fit the search.  
> If I use select and fetch statement, I will have to define the list. This will clear my iPrintDataList.    
> Also, where can I get an explanation of what these conditions do:    kOnlySelected,    kSelectMatches,    kDeselectNonMatches    
> Again, the manual says very little about what the difference is in their usage in a search command.    
> Kind regards, Martin Obongita.
> _____________________________________________________________
> Manage your list subscriptions at
> Start a new message -> mailto:omnisdev-en at 

Manage your list subscriptions at
Start a new message -> mailto:omnisdev-en at 

More information about the omnisdev-en mailing list