473,473 Members | 1,902 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Merge to MS Word

I have the following forms:

frmLeads (main form)
frmHistory (subform of frmLeads)

***************************

I want to merge the record to MS Word and to look similar to below:

Mr. John Doe
ABC Company
1652 West Virginia Rd.
Boise, ID 83706

1/2/06 - Requested Info from us
1/3/06 - Called ABC Company and left msg
1/6/06 - Contacted, wants a quote

***********

The problem is, a record is printed for each record in frmHistory. EXAMPLE:

ABC Company
1/2/06 - Requested Info from us

ABC Company
1/3/06 - Called ABC Company and left msg

ABC Company
1/6/06 - Contacted, wants a quote

************

Do you know how I can make it work how I need it to?

--
Message posted via http://www.accessmonster.com
Jan 5 '06 #1
1 1163
On Thu, 05 Jan 2006 18:33:27 GMT, "ILoveAccess via AccessMonster.com"
<u10461@uwe> wrote:
I have the following forms:

frmLeads (main form)
frmHistory (subform of frmLeads)

***************************

I want to merge the record to MS Word and to look similar to below:

Mr. John Doe
ABC Company
1652 West Virginia Rd.
Boise, ID 83706

1/2/06 - Requested Info from us
1/3/06 - Called ABC Company and left msg
1/6/06 - Contacted, wants a quote

***********

The problem is, a record is printed for each record in frmHistory. EXAMPLE:

ABC Company
1/2/06 - Requested Info from us

ABC Company
1/3/06 - Called ABC Company and left msg

ABC Company
1/6/06 - Contacted, wants a quote

************

Do you know how I can make it work how I need it to?


Yes.

Oh, you also want me to share that information, huh? Well, ok.

Look in Word help for NextRecord. It is a fieldcode that tells word
to get further information from the, well, Next Record, rather than
loading another instance of the main form for processing.

mike
Jan 5 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: William Wisnieski | last post by:
Hi Everyone, Access 2000 I have some code behind a button that performs a word merge with a query data source. The merge works fine. But what I'd like to do somehow is after the merge is...
5
by: stemc © | last post by:
Hi there, In work, we often mail merge letters and post them to contacts. But more and more, we've been emailing information to people instead. So far, I've been writing a single generic...
2
by: Aaron | last post by:
hello, i am perfoming a mail merge with the following code. Public Function MergeIt() Dim objWord As Object Set objWord = GetObject("C:\MyMerge.doc", "Word.Document") ' Make Word visible....
8
by: Squirrel | last post by:
Hi everyone, I've created a mail merge Word doc. (using Office XP) , the data source is an Access query. Functionality I'm attempting to set up is: User sets a boolean field to true for...
8
by: Darryl Kerkeslager | last post by:
I hope that although this is 25% Access and 75% Word, that someone will know ... The whole problem here arises because 1) Microsoft acknowledges an 'issue' wherein TextInput type FormFields are...
3
by: Andy Davis | last post by:
I have set up a mail merge document in Word 2003 which gets its data from my Access 2000 database. I want to set up a button on a form that: 1. runs the query to provide the dat for the merge...
4
by: lesperancer | last post by:
I have 3 tables (office97) tblQuote quoteNbr tblDetails ( quote : 1 <-> M: quoteDetails) quoteNbr detailLine product value
8
by: Ron B | last post by:
Help!!! What am I doing wrong? I am working with Office 2003 and am trying to create a command button on an Access form that will create a mail merge in Word from an Access table. I want to...
7
by: giladp1 | last post by:
I found Albert Kallal's great "Super easy Word Merge" code in his site at: http://www.members.shaw.ca/AlbertKallal/msaccess/msaccess.html Thanks Albert so much for sharing this. I am looking...
1
by: Esther Lane | last post by:
Hello! First off, many many thanks to Albert who wrote the Mail Merge code for MS Access I am using. It has been working beautifully for a few years. However, my client just (without notice!)...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.