Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Simple letter in a memo field
Message
From
23/03/2002 08:58:47
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00636427
Message ID:
00636428
Views:
17
This message has been marked as the solution to the initial question of the thread.
Algo asim como:
MinhaCarta = CampoMemo
MinhaCarta = strtran(MinhaCarta, "(Cliente)", CampoCliente)
MinhaCarta = strtran(MinhaCarta, "(RegNum)", CampoRegNum
MinhaCarta terá o conteúdo modificado.

Hilmar.

>I have a dbf file with the fields
>
> Client
> Reg_numb
> Etc.
>
> How can I make a simple letter using the variables (fields)
> to a txt field of the same record.
> The letter will be the body of a e-mail
>
> ************
> Dear (Client)
>
> Your postage is already on the way
> Your registration number is (reg_numb)
> Thanks
>
> *************
>
> I would like if possible, to control which line to
> put the phrase, in order not to mess the letter.
>
> Moses
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform