Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BUG: SELECT can't build sum of memo fields
Message
De
28/05/2003 08:59:16
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
28/05/2003 06:33:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00793392
Message ID:
00793433
Vues:
47
>Hi,
>
>within a SELECT-SQL command,
>i need sum two memo field into one memo field.
>
>I can make it?
>
>Example:
>
>CREATE CURSOR test;
>  (m1 M DEFAULT REPLICATE('X',300);
>  ,m2 M DEFAULT REPLICATE('Y',300))
>
>APPEND BLANK
>
>SELECT m1+m2 mResult FROM test INTO CURSOR cResult
>
>* report : Error 1903 : String is too long to fit
>
>
>Fabio

Hi Fabio,
this seems a nice one. I tested that with a cursoradapter, setting CURSORSCHEMA='mResult M'
If I do CURSORFILL(,.t.) (NoDataOnLoad) it creates a cursor. DISPLAY STRUCTURE shows that the FieldType is memo
If I try to CURSORREFRESH() it fails.
If I do CURSORFILL() it fails to.

There is something very strange on it.

Agnes
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform