Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!
  1. Guest ji, please consider donating today!
      Become a Supporter    ::   Make a Contribution   
    Monthly Recurring Target: $300 :: Achieved: $95

Merge data into single Word doc from single Access record

Discussion in 'Information Technology' started by CW, Jul 28, 2006.

  1. CW

    CW
    Expand Collapse
    Guest

    I am building a database to store numerous customer records, each holding
    numerous different pieces of data. I am fine with that part of the project.
    I will want to use various Word docs (templates) for different purposes,
    each of which should pull data from an individual customer file on Access,
    i.e. just the current record I am in, producing a certain letter and merging
    the relevant data into it. Not a mass mailmerge process.
    Just one particular letter at a time, from one particular record.
    I am familiar with the concepts of templates and data-merging and have done
    some work in the past on ready-built databases, but haven't built these from
    scratch myself before.
    Could somebody walk me through this please, step by step?
    Many thanks
    CW
     
  2. Loading...


  3. Linc

    Linc
    Expand Collapse
    Guest

    Hi CW,

    To be honest, it's too big to walk you thru. You will need to do alot of
    reading, especially on opening data sources.

    You will also need to include Word's and and possibly Office's libraries in
    your references to get the MailMerge commands.

    To pick a specific record you will have to learn to write WHERE clauses.

    If you go thru your object browser after including the Word and Office
    libraries, you will see your choices. Click ? you get the info on that
    object.

    Hope this helps some.


    "CW" wrote:

    > I am building a database to store numerous customer records, each holding
    > numerous different pieces of data. I am fine with that part of the project.
    > I will want to use various Word docs (templates) for different purposes,
    > each of which should pull data from an individual customer file on Access,
    > i.e. just the current record I am in, producing a certain letter and merging
    > the relevant data into it. Not a mass mailmerge process.
    > Just one particular letter at a time, from one particular record.
    > I am familiar with the concepts of templates and data-merging and have done
    > some work in the past on ready-built databases, but haven't built these from
    > scratch myself before.
    > Could somebody walk me through this please, step by step?
    > Many thanks
    > CW
     
  4. Albert D.Kallal

    Albert D.Kallal
    Expand Collapse
    Guest

  5. Ken Sheridan

    Ken Sheridan
    Expand Collapse
    Guest

    As you are creating a single word document from one record, rather than
    undertaking a mail merge I'd suggest filling bookmarks in the Word template
    document with the Access data. I've posted a demo which includes this, along
    with merges and filling Word tables and form fields, at:

    http://community.netscape.com/n/pfx/forum.aspx?msg=23781.1&nav=messages&webtag=ws-msdevapps


    You could use the merge facility in the demo to do what you want if you
    wished, but the 'Create Letter' facility in the demo does it with bookmarks.

    Ken Sheridan
    Stafford, England

    "CW" wrote:

    > I am building a database to store numerous customer records, each holding
    > numerous different pieces of data. I am fine with that part of the project.
    > I will want to use various Word docs (templates) for different purposes,
    > each of which should pull data from an individual customer file on Access,
    > i.e. just the current record I am in, producing a certain letter and merging
    > the relevant data into it. Not a mass mailmerge process.
    > Just one particular letter at a time, from one particular record.
    > I am familiar with the concepts of templates and data-merging and have done
    > some work in the past on ready-built databases, but haven't built these from
    > scratch myself before.
    > Could somebody walk me through this please, step by step?
    > Many thanks
    > CW
     
Since you're here... we have a small favor to ask...

More people are visiting & reading SPN than ever but far fewer are paying to sustain it. Advertising revenues across the online media have fallen fast. So you can see why we need to ask for your help. Donating to SPN's is vote for free speech, for diversity of opinions, for the right of the people to stand up to religious bigotry. Without any affiliation to any organization, this constant struggle takes a lot of hard work to sustain as we entirely depend on the contributions of our esteemed writers/readers. We do it because we believe our perspective matters – because it might well be your perspective, too... Fund our efforts and together we can keep the world informed about the real Sikh Sikhi Sikhism. If everyone who writes or reads our content, who likes it, helps us to pay for it, our future would be much more secure. Every Contribution Matters, Contribute Generously!

    Become a Supporter      ::     Make a Contribution     



Share This Page