Hi all,
Since years i am using my own written datawindow filter function.
What it does , is it takes the dw as an input parameter of this function together with a string as text to be searched , then it loops dynamically through all the possible char columns of this datawindow and dynamically generates a filter string with the function Pos. This worked great for many years at numerous installations.
Recently I've come across the messagebox after the setfilter method : Expecting string expression. This only happens at 1 customer in 1 particular datawindow.
I've copied his database (thinking the cause was some bad data ... ) to our office, tried it here , but we simply can't reproduce this behaviour , not in dev mode , not in runtime mode.
The function is used across many datawindows , but the error message only happens in this one datawindow. So from this (and the fact that it works fine at different installations for many years) i imagine it doesn't have anything to do with my function itself.
Using PB 11.5.1. build 5097.
Has anyone seen this behaviour ? Or could give me any pointers on how to search for possible causes ?
TIA
John