2 Replies Latest reply on Jan 7, 2010 9:32 AM by shudder

    Discovery on writting letters

    brucewashington

      Title

      Discovery on writting letters

      Post

      Hello all,

       

      I just figured out something that might be of help to others.

       

      I needed to have several merge fields within each paragraph and I figured out how to do. 

       

      I put each piece of the paragraph into a field and then do a calculation field and it puts them all together. 

       

      I, __name  , of the   organization   do have full knowledge about the documents sent on   date  , and can attest to these along with and here is the USPS registration No   number  , and am available at   310-234-2344   between       a.m. and      p.m. M-F.  Please call if you need further confirmation.

       

      It works wonderful for now.  If there are any better ways, I would enjoy hearing them.

       

      Thanks for all you help on my things. 

        • 1. Re: Discovery on writting letters
          davidanders
            

          Congratulations. Figuring out that sort of thing can be the highlight of a Thursday or week.

          That is the formerly (maybe currently) preferred method to achieve the end result. 

          I spent time trying to create html output that required the same process, then repeated, then repeated to create the final html documents.

          Lots of time spent figuring it out and it never was implemented. sigh 

          • 2. Re: Discovery on writting letters
            shudder
              

            Just as an alternative to creating another field, you could always use Merge Fields instead.

             

            In Layout mode, create a text box and start entering your data, then whenever you want record data go to Insert / Merge Field... and select the field you want at that particular point in your text.  It will be inserted between double brackets (<< >>) into your text.  Continue writing until the next merge field is needed, etc.  You also can just type the whole thing by manually typing the brackets and fieldnames if you want to do it that way (that's my preference).:

             

            I, <<name>>, of <<company>> do have full knowledge... 

             

            In Browse Mode, this will resolve to: 

             

            I, Ben Bernanke, of The Federal Reserve do have knowledge...

             

            It's also a bit easier to handle bolding, italicizing and that sort of thing in your manually entered text rather than having to do this programmatically inside your calc (which you can do if you want to with TextStyleAdd from the Text formatting functions when creating your calc, but the calc can get much more complex than just doing it on the layout as I have specified -- your choice). 

             

            hth

             

            - Michael