Gary, you seem to do very complicated things. It might be interesting if you could document what you do along with the solution that you adapt. Just something to think about.

Gary Dale wrote:
Finally decided to just use a section and hide or reveal it using the normal OOo mail merge functions. Not as much control as I'd like, but it gives reasonable output. :)


Gary Dale wrote:
Once more into the breach in my attempts to add an "Attn:" line to a form letter.

Obviously the easy way to do this would be to turn the paragraph's visibility on and off. However, if that is possible, I can't find a way to do it. IsVisible only seems to apply to spreadsheet rows and columns.

Thus, the second solution is to insert the new fields I need, then remove them if I decide I don't need them (based on whether or not they contain anything). However, I have not been able to find anything on how to do this either. There is some information on inserting the normal fields (those listed in the Insert | Fields menu) but nothing on how to insert the "other" fields.

Using the macro debugging facilities, I have found a mention of the fields I have statically inserted into the document (i.e. by using the Insert | Fields | Other... menu). They're in TextFieldMasters | ElementNames but that doesn't seem to help me - I can't relate it back to how to insert "normal" fields.

Sadly, Andrew's document on databases is missing the chapter on mail merges. :(

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--
Andrew Pitonyak
My Macro Document: http://www.pitonyak.org/AndrewMacro.odt
My Book: http://www.hentzenwerke.com/catalog/oome.htm
Info:  http://www.pitonyak.org/oo.php
See Also: http://documentation.openoffice.org/HOW_TO/index.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to