Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mail Merge width Word - enhanced trick
Message
 
To
09/02/1999 09:00:47
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00185458
Message ID:
00189223
Views:
10
Hi
You can simply create a character string containing the invoice numbers separated by carriage return (ie "033823"+Chr(13)+"755757"+Chr(13)). When you send this text to word the invoice numbers will appear one below the other. I use this technique for inserting addresses of various lengths into form letters.
I have only one tag <
> but it can contain multiple line using this method.

Simon


>Hi All!
>
>I faced a problem and I hope, somebody will help me. So. I want to make form letters to via OLE automation in Word.
>A simple mail merge in Word via OLE is very easy task. But, I donnot have any idea, how to make form letters with more than one source records on it. A sample:
>
>Dear {{customer name}}!
>
>Your unpaid invoices:
> {{invoice}}
>
>Sincerely ...
>
>I can make this type of formletter in only cases, if a costumer has only one unpaid invoice. But how to handle, when there are more than one invoice to print? I thought, that I will make some rows of fileds for invoices. But what if, there are more invoices? (It is something like the VFP report writer)
>
>
>Any advice will be appreciated!!
>
>TIA
>
>BB
Simon White
dCipher Computing
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform