Linux support

Ruslan Zasukhin sunshine at public.kherson.ua
Tue Jan 11 00:42:10 CST 2005


On 1/11/05 12:34 AM, "Ken Jordan" <jordan at digi-net.com> wrote:

>> 
>> You have forget wrap string constant by SINGLE QUOTES.
>> 
>> cursor2 = db.SQLselect("SELECT (...) FROM inbox
>>    WHERE message_id = '" + cursor.VarCharField("message_id").Value) + "'"
>>  
>> 
> If I do that ALL attempts fail!
> 
> Seem to have alleviated problem by replacing all "." with "-" and all
> "<" with "<1" (only works if first character after "<" is a digit)
> 
> ?????

Aha, you have special symbols in the strings.

Then before concat it into SQL string,
You need escape it using ValentinaEscapeString()

-- 
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