Search List Conditions

Jacky ZEMRON jacky at aec-ri.com
Wed Feb 9 10:41:23 UTC 2022


Do mylist.$filter($ref.$selected) after the search which select the lines who match

Envoyé de mon iPhone
Jacky ZEMRON

> Le 9 févr. 2022 à 10:57, Martin Obongita via omnisdev-en <omnisdev-en at lists.omnis-dev.com> 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 https://lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com 



More information about the omnisdev-en mailing list