Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mail merge from tokenized memo field
Message
De
23/02/2002 18:06:06
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00624166
Message ID:
00624177
Vues:
14
Have to love it when there is a simple answer, thank you many times over!

>You can use Strtran function.
lcMemo = "Dear So and so, your ##CUSIP## is being called on ##CALLDATE##."
>lcCusIp = "Something"
>lcCallDate = DTOC(DATE())
>? STRTRAN( STRTRAN( lcMemo, "##CUSIP##", lcCusIp ), "##CALLDATE##", lcCallDate )
>
>
>>I am stumped on what approach to use.
>>
>>Stored in a memo field is a form letter with embedded macro symbols that need to be filled in at report time.
>>
>>Something like this.
>>//start of memo content
>>Dear So and so, your ##CUSIP## is being called on ##CALLDATE##.
>>//end of memo content
>>
>>So how would I convert the ##CUSIP## and ##CALLDATE## with the proper value in the report detail?
>>
>>Thank you kindly!
>>
>>*"Always do right - this will gratify some and astonish the rest."(Mark Twain)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform