>--------
>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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement