Re: Setgenfilter() problem -
06-15-2006
, 05:23 AM
John
From the Paradox help files
If you are filtering on special characters, you must precede the number
or literal value that can be interpreted as an operator, such as ", /,
\, -, +, =, with a backslash(\). In the OPAL method setgenfilter(), the
filter criteria is put into a string and parsed to pick out numbers and
operators for calculations. If the number or operator in the filter
needs to be interpreted literally, it needs to be preceded by a
backslash(\).
For example, to filter a table with the following records:
· 1st Base
· 2nd Base
· 3rd Base
and retrieve only those that start with "1st," the filter would be this:
filter = "\1st.."
One backslash to indicate that number 1 is not a special character.
--
Bertil Isberg
CTECH
Paradox Buglist: http://hem.bredband.net/bertilisberg/
remove spamfilter (reversed) to reply |