setFilter Function

Meeting place for R&R customers and clients to share tips and ideas. Post your questions, messages or problems here.
Post Reply
jchiu_(Guest)
Posts: 3
Joined: Tue Oct 10, 2017 12:44 pm

setFilter Function

Post by jchiu_(Guest) » Fri Jul 27, 2001 2:13 pm

Has anyone used the setFilter function to set a filter with wildcard? I can^t seem to get it to work.____setFilter(hRpt, (LPCSTR) "LineName is like ^xyz*^");__

kfleming
Posts: 5795
Joined: Tue Oct 10, 2017 12:44 pm

=> RE: setFilter Function

Post by kfleming » Mon Jul 30, 2001 9:43 am

>Has anyone used the setFilter function __>to set a filter with __>wildcard? I can^t seem __>to get it to work. __>__>__>setFilter(hRpt, (LPCSTR) "LineName is like ^xyz*^"); __>______Use the expression:__setFilter(hRpt, (LPCSTR) "LIKE(^xyz*^,LineName)"); ____setFilter uses R&R calculated field syntax.__You also need to have setFilterUsage set to "O" to enable the processing of setFilter.____Kathleen__R&R Support

jchiu_(Guest)
Posts: 3
Joined: Tue Oct 10, 2017 12:44 pm

==> RE: setFilter Function

Post by jchiu_(Guest) » Tue Aug 07, 2001 7:28 pm

It worked as you discribed. Now I am trying to add a date to the filter string using calculated field systax and I can^t get it to work.__bStat = setFilter(hRpt,(LPCSTR) "LIKE(^Feed*^,linename) and InstallDate = {3/17/73}");____Thanks.

Post Reply