BLOB_ReadData
Ruslan Zasukhin
sunshine at public.kherson.ua
Fri Aug 8 08:55:57 CDT 2003
on 8/8/03 4:13, Trevor DeVore at lists at mangomultimedia.com wrote:
Hi Trevor,
>>> I can't find a reference to the Field_GetString call in the XCMD docs. I
>>> tried the call using
>>>
>>> get Valentina("Field_GetString", fieldRef)
>>>
>>> but it didn't work. When I use Field_GetValue or Cursor_GetField the
>>> contents
>>> of Text fields with lots of data seems to be truncated. Is this normal
>>> behavior or have I set something up incorrectly?
>>
>> Aha, correct. Field_GetValue() works for all fields.
>>
>> I have look, no, it must work for big strings also.
>> No limits as I see.
>
> Hmmm, any ideas what could cause the text being returned from being truncated?
> My setup:
>
> 1) Fetching data from DB with following query "SELECT RecID, Name, Text,
> RelatedText_Ptr, Location_Ptr FROM Section Where RecID = X"
> 2) Populating an array then displaying results in a field. I use the
> following to get the value of the text field:
> put Valentina("Cursor_GetFieldRef", dbResult, "Text") into fldRef
> put Valentina("Field_GetValue", fldRef) into dbArray["Text"]
> 3) Database has no errors reported when I diagnose it.
> 4) I am using version 1.9.8 of the VXCMD
> 5) Field that is giving me problems is defined as:
> Text[1024] Language: ASCII Indexed
>
> Problem I am seeing:
> 1) With Text fields that are really long the text returned is a fraction of
> what it should be. If I look at the record in Valentina I see all of the
> text. It doesn't seem to be a problem with any limits within RR itself since
> other records will return longer strings of text then the one that is
> truncated.
1) what is really long?
2) what size of truncated strings?
3) if the size the same or random?
4) you need send me something that reproduce
db file and simplest stack.
--
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