Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word automation to unlimited number of items
Message
 
To
13/06/2002 12:05:53
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00667775
Message ID:
00668032
Views:
26
>>>I have a Word automation to do. I am sending the result in 3 columns. Basically, it's one field in a specific Word font followed by a second field, on the next line, with a smaller font. So, I have defined two fields. This is good as long as I only have record. However, the number of records varies. How can I achieve that task by having a nice report in Word with either 17 records or 100?
>>
>>I must have misunderstood but isn't that just a MailMerge?
>
>My understand of a mail merge is that it'll redo the same set of formatting several times. If that can be used to accumulate in sequence of a bunch of text that will fit within my 3 colums definition, than that can do it.

If you set up a Catalogue MailMerge it can be over multiple lines that are just repeated ie

<>
<>

Each of the above mereg codes can be of different font/size/bold etc. When run you would get:

Record1.Field1
Record1.Field2
Record2.Field1
Record2.Field2

etc for the number of records merged.
Is this the effect you are after?
If so I find it best to place the <> in a table as that enables easy formatting of the text (you just set the table border off).

HTH
Caroline
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform