Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Memo field doesn't contain what it should
Message
 
 
À
14/08/2008 12:48:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01338916
Message ID:
01338918
Vues:
14
>I want to add a date to a memofield. If the field is empty I only add a date. If the field is not empty I do an alltrim on the content of the memo and then I add chr(13) and then I add a date.
>
>It does'nt work for one of my memo fields. I have one empty line that should'nt be there.
>
>I thought that SET MEMOWIDTH could help but it didn't change a thing.
>
>Any thoughts?

Can you show your code? I think it should work as is without any problems. Also it may be that you already had an CHR(13) in that record. Empty() and ALLTRIM() would not remove char(13) chr(10) from the record. You need to examine this memo record for non-visible characters.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform