Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I add text to an empty memo
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00827699
Message ID:
00827736
Vues:
14
Hi Lynda,

There's nothing wrong with this piece of code and it should work in both cases. The problem is somewhere before it. Most likely the record pointer is at EOF so EMPTY(memofield) evaluates to .T. but REPLACE doesn't do anything.

>Currently it looks like this:
>
>IF EMPTY(memofield)
>  replace memofield with cString
>ELSE
>  replace memofield with cstring + CHR(13)+ CHR(10) + memofield
>ENDIF
>the "else" works....
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform