New Posts New Posts RSS Feed: RdbQuery Error with StartsWith condition
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

RdbQuery Error with StartsWith condition

 Post Reply Post Reply
Author
TimClamp View Drop Down
Newbie
Newbie
Avatar

Joined: 08-Jul-2008
Location: Houston, TX
Posts: 4
Post Options Post Options   Quote TimClamp Quote  Post ReplyReply Direct Link To This Post Topic: RdbQuery Error with StartsWith condition
    Posted: 08-Jul-2008 at 12:10pm
When I create an RdbQuery that contains a StartsWith condition, and the value used in the operation contains a '[' character, such as 'AABAAAAABAAAAA[', I receive an error down in the bowels of System.Data.LikeNode that states:
 
System.Data.EvaluateException was unhandled: the string pattern is AABAAAAABAAAAA[[[]]% invalid
 
It appears that DevForce is trying to escape the '[' character as required by the datacolumn expression in System.Data, however it appears that the escape sequence is failing miserably somewhere.


Edited by TimClamp - 08-Jul-2008 at 1:34pm
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down