Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cursor adaptor - string is too long to fit .. in a memo
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00852723
Message ID:
00852818
Views:
9
>--------
>But that's not exactly what I want to do
>The goal is to create a memo field as a sum of list fields
>------------
>
>Yes I understand that. But the error has nothing to do with cursoradaptor.
>
>Having created the cursor that you show, if you execute your command:
>
>SELECT a+b AS description,0.00 AS Price, "Ok" AS Buy FROM list
>
>.. you will get the same error result.
>

Yes I understand description is default to a character field but in the cursoradapter the field is defined in the schema as a memo field, so I was just dreaming the cursor created blowed up the 254 char limit ( the cursoradapter knows it's a memo and created it as a memo ! but limit's the value to 254 char when the source is not a single memo field)

>------------
>This code doesn't work
>------------
>
>If you add the UseMemoSize property that I suggested, you will not see the error.
>

Would you please give me more information about the UseMemoSize property when DataSourceType is "Native"
The code you post don't give any errors but don't return any records.
If you set the lNodata parameter to false in the CursorFill method the error is back.

Tks
Marcel
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform