Welcome to SPN

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

Sign Up Now!
  1.   Become a Supporter    ::   Make a Contribution   
    Target (Recurring Monthly): $200 :: Achieved: $98

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!
     
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