[V4MD] Escape Chars

Ruslan Zasukhin sunshine at public.kherson.ua
Fri Sep 5 16:34:21 CDT 2003


on 9/5/03 4:28 PM, Martin Kloss at martin.kloss at gmx.de wrote:

> Hi,
> 
> it seems like it's the Friday afternoon that stops me from thinking clearly...
> 
> Since there isn't an escape function in V4MD (or the other interfaces)
> to my knowledge, which characters need to be escaped?
> 
> I'm using the binding feature for INSERT and UPDATE statements,
> but a SELECT statement query with a value that contains i.e.
> a RETURN character fails:
> 
> SELECT RecID FROM foo WHERE bar = 'something with
> a return'
> 
> Of course I could find workarounds, like modifying the field
> data and replace all returns with, say <BR> or else, but that
> wouldn't really solve the problem. Is there a way to escape
> the RETURN character? Valentina does not seem to be blind
> about whitespace, so the SELECT will always fail :-(
> 
> Btw. it would be really nice to have an EscapeString() function
> in V4MD so slow text parsing in Lingo can be avoided.

Martin, 

We already have EscapeString()!

Please check latest docs.

-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina mailing list