on 08-16-2006 1:17 PM
what's the difference of these two search type if I use FreeFormParameter.NewString()?
I met a problem: if i used FreeFormParameter.EqualToSearchType, sometimes it failed, while StringParameterType always succeeded.
Hi Peter,
EqualToSearchType looks for exact match of field value with supplied parameter value while StringParameterType matches substring of field value with supplied parameter value.
Example:
Using EqualToSearchType: "ABCDEFGH".equals("ABC") = FAIL
Using StringParameterType "ABCDEFGH".indexOf("ABC",0) > 0 = SUCCESS
Hope this helps
--
Venkat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can anyone help me with this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.