Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Textmerge problem
Message
De
06/02/2001 13:08:16
 
 
À
06/02/2001 13:02:34
Peter Wagner
Point Informática Ltda.
Limeira, Brésil
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00473023
Message ID:
00473026
Vues:
19
>I have a Memo Field with a text with fields surrounded by texte merge delimiters
>to be used in a text merge function.
>Sample of a memo field content = "Mr. <> <>, congratulations for your birthday !
>(in a form the user creates many letter's that are stored in a sequence of memos, with the fields it wants to merge, to print it later)
>
>My code to merge the memo content is simple:
>
>SET TEXTMERGE TO letter_merge.rtf
>IF _TEXT = -1 && could not create the file
> RETURN
>ENDIF
>SELECT letter
>xx = letter.model && memo field of letter file
>SET TEXTMERGE ON
>SELECT client
>TEXT
><>
>ENDTEXT
>SET TEXTMERGE OFF && Disable textmerge
>SET TEXTMERGE TO && close output
>
>Problem: I create a output file, but the fields that are surrounded by text delimiters in the memo field (letter.model) arent merged when I open the letter_merge.rtf file
>
>Is there a way to do it ?
>Whats wrong here ?
>I would like to send the merged memo direct to other memo, in place to a file and then import it to another memo, is it possible ?
>
>TIA

Just use the memo field directly, do not move it into a variable first.

<<letter.model>>
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform