Hello,

what is the easy way to filter the values that I'm sending to the database?

I'm using the MS Access database and when a user enters the text in the textbox that 
contains " ' ", the text doesn't get inserted.  So I would like to replace the " ' " 
with " " ".  
Here's the code that I have right now:

String articleText = getDisplayFieldValue("dfArticleText").stringValue().trim();
new CSpString(CSpUtil.replaceSubstring(articleText.toString(),"'","''"));

However, this doesn't work.  Does anybody know what's wrong or how can 
I do it better?
Thanks,
Rimma
_________________________________________________________________________

For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html

For dire need help, email: [EMAIL PROTECTED]

Reply via email to