Page 1 of 1
setFilter Function
Posted: Fri Jul 27, 2001 2:13 pm
by jchiu_(Guest)
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*^");__
=> RE: setFilter Function
Posted: Mon Jul 30, 2001 9:43 am
by kfleming
>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
==> RE: setFilter Function
Posted: Tue Aug 07, 2001 7:28 pm
by jchiu_(Guest)
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.