Welcome to SPN

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

Sign Up Now!

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
     

Share This Page