[VXCMD] Cursor_AddRecords Bug Testing Stack

Ruslan Zasukhin sunshine at public.kherson.ua
Mon Mar 24 00:27:32 CST 2003


on 3/23/03 10:50 PM, Ken Ray at kray at sonsothunder.com wrote:

>> This is your mistake!
>> 
>> You send to AddRecords() text with lines delimited by '\n'
>> Valentina on default expect '\r'
>> 
>> So you must simple in call to AddRecords() specify correct
>> recDelimiter parameter.
> 
> Ruslan,
> 
> I just tried doing that, changing my call from:
> 
> get Valentina("Cursor_AddRecords",cursorRef,fld "Data")
> 
> to
> 
> get Valentina("Cursor_AddRecords",cursorRef,fld "Data","\t","\r")
> 
> and it works *better*, but still not properly. I get the first 4 lines
> correct, and then on the 5th line it starts messing up again. I'll send
> you a revised version of the stack and you can tell me what you find.

Before I start check it again,

May be in YOUR TEXT DATA, first 5 lines use \r
But others use \n  ???

Can this be?
Please check.


-- 
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://listserv.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina mailing list