Welcome to SPN

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

Sign Up Now!

Need help with Merge Single Word

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

  1. hlock

    hlock
    Expand Collapse
    Guest

    I don't do much programming, and I've run into a problem. What I would like
    to do is have the user open a form, entering/choosing information, then
    clicking on a command button to merge the record into a Word mail merge
    template. Ideally, I would like this to be done all in one button.

    I've tried the "Merge Single Word" code, however, in order for the code to
    work for me, the record source for the form has to be set to the table/query
    that will be the record source for the mail merge template. When I set the
    form's record source to the query that needs the information entered on the
    form, the form fails. When I set the form's record source to a table
    generated from the query that needs the information on the form, I get an
    error message that the record or database is locked.

    I'm so frustrated because I am so unfamiliar with visual basic. I have
    searched through the community groups and newsgroups, but haven't found
    exactly the code I need. When I do find some code, it's always missing
    something that I can't figure out. If anyone could help me I would
    appreciate it. I will be happy to provide any additional information.

    Thanks!
     
  2. Loading...

    Similar Threads Forum Date
    Interracial And Interfaith Marriage, Help Needed To Confront/convince My Parents Love & Marriage Aug 16, 2016
    17 yr old Baljit needs your help Get Involved Aug 19, 2015
    Learn Punjabi Need help Language, Arts & Culture May 20, 2014
    United Sikhs From United Sikhs. Phillippines Needs Your Help Sikh Organisations Nov 22, 2013
    Need Help... (Keeping Hair) Questions and Answers Sep 2, 2013

  3. Arvin Meyer [MVP]

    Arvin Meyer [MVP]
    Expand Collapse
    Guest

    I use automation and Woed bookmarks to create a Word document from a single
    record. Have to looked that this code?

    http://www.datastrat.com/Code/WordMerge.txt
    --
    Arvin Meyer, MCP, MVP
    Microsoft Access
    Free Access downloads
    http://www.datastrat.com
    http://www.mvps.org/access

    "hlock" <hlock@discussions.microsoft.com> wrote in message
    news:3556FC6F-7884-4B84-966C-91DA68916298@microsoft.com...
    >I don't do much programming, and I've run into a problem. What I would
    >like
    > to do is have the user open a form, entering/choosing information, then
    > clicking on a command button to merge the record into a Word mail merge
    > template. Ideally, I would like this to be done all in one button.
    >
    > I've tried the "Merge Single Word" code, however, in order for the code to
    > work for me, the record source for the form has to be set to the
    > table/query
    > that will be the record source for the mail merge template. When I set
    > the
    > form's record source to the query that needs the information entered on
    > the
    > form, the form fails. When I set the form's record source to a table
    > generated from the query that needs the information on the form, I get an
    > error message that the record or database is locked.
    >
    > I'm so frustrated because I am so unfamiliar with visual basic. I have
    > searched through the community groups and newsgroups, but haven't found
    > exactly the code I need. When I do find some code, it's always missing
    > something that I can't figure out. If anyone could help me I would
    > appreciate it. I will be happy to provide any additional information.
    >
    > Thanks!
     

Share This Page