Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
David Wedding David Wedding is offline
external usenet poster
 
Posts: 1
Default Word Merge Data From MS Access Options Fields

I have a database with a number of option fields that I want to
include in a word merge document. I have no trouble with regular
fields or checkboxes, but I need some advice on transfering option
values to the same type of formated form on the word template as on my
database. Should I be using VBA code to do this?

Thanks,

PC
  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default Word Merge Data From MS Access Options Fields

What do you mean by "option fields"?

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"David Wedding" wrote in message
...
I have a database with a number of option fields that I want to
include in a word merge document. I have no trouble with regular
fields or checkboxes, but I need some advice on transfering option
values to the same type of formated form on the word template as on my
database. Should I be using VBA code to do this?

Thanks,

PC



  #3   Report Post  
Posted to microsoft.public.word.mailmerge.fields
PC User PC User is offline
external usenet poster
 
Posts: 6
Default Word Merge Data From MS Access Options Fields


An option field is a field in a table that gets its value from an
option group on a form. The option group consists of a frame with
checkboxes, radio buttons, toggle buttons, etc. that are choices that
are mutually exclusive. The option value comes from the frame, not
the checkboxes or buttons. If there are 12 checkboxes and one of them
is selected, then the option group's value is a number corresponding
to the checkbox's option value. The checkbox is not independent, but
a part of the group and the selected checkbox gives its value to the
group. Hence there could be 12 possible values transfered to the MS
Word template, but only one of the twelve can be transfered.

This is a control in MS Access and I'm trying to find out if MS Word
has a similar control so that I can merge that option value like the
other field values are done during a word merge process. The
description of an option is given in the MS Access help:

Each control (control: A graphical user interface object, such as a
text box, check box, scroll bar, or command button, that lets users
control the program. You use controls to display data or choices,
perform an action, or make the user interface easier to read.) in an
option group (option group: A frame that can contain check boxes,
toggle buttons, and option buttons on a form, report, or data access
page. You use an option group to present alternatives from which the
user can select a single option.) has a numeric value that you can set
with the OptionValue property. Read/write Long.

The OptionValue property applies only to the check box (check box: A
control that indicates whether an option is selected. A check mark
appears in the box when the option is selected.), option button
(option button: A control, also called a radio button, that is
typically used as part of an option group to present alternatives on a
form, report, or data access page. The user cannot select more than
one option.), and toggle button (toggle button: A control that is used
to provide on/off options on a form or report. It can display either
text or a picture and can be stand-alone or part of an option group.)
controls in an option group.

So far I've seen two methods of processing a word merge: 1) merging
the fields and 2) using bookmark fields. However, my research is far
from done; so any help on this would be appreciated. Thanks so much
for your inquiry.
  #4   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default Word Merge Data From MS Access Options Fields

OK so as far as the field type in the table definition, the field that is
populated by selecting the option is probably either a Text field or a
Number field and it should not make any difference to the mail merge process
how that field is populated.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"PC User" wrote in message
...

An option field is a field in a table that gets its value from an
option group on a form. The option group consists of a frame with
checkboxes, radio buttons, toggle buttons, etc. that are choices that
are mutually exclusive. The option value comes from the frame, not
the checkboxes or buttons. If there are 12 checkboxes and one of them
is selected, then the option group's value is a number corresponding
to the checkbox's option value. The checkbox is not independent, but
a part of the group and the selected checkbox gives its value to the
group. Hence there could be 12 possible values transfered to the MS
Word template, but only one of the twelve can be transfered.

This is a control in MS Access and I'm trying to find out if MS Word
has a similar control so that I can merge that option value like the
other field values are done during a word merge process. The
description of an option is given in the MS Access help:

Each control (control: A graphical user interface object, such as a
text box, check box, scroll bar, or command button, that lets users
control the program. You use controls to display data or choices,
perform an action, or make the user interface easier to read.) in an
option group (option group: A frame that can contain check boxes,
toggle buttons, and option buttons on a form, report, or data access
page. You use an option group to present alternatives from which the
user can select a single option.) has a numeric value that you can set
with the OptionValue property. Read/write Long.

The OptionValue property applies only to the check box (check box: A
control that indicates whether an option is selected. A check mark
appears in the box when the option is selected.), option button
(option button: A control, also called a radio button, that is
typically used as part of an option group to present alternatives on a
form, report, or data access page. The user cannot select more than
one option.), and toggle button (toggle button: A control that is used
to provide on/off options on a form or report. It can display either
text or a picture and can be stand-alone or part of an option group.)
controls in an option group.

So far I've seen two methods of processing a word merge: 1) merging
the fields and 2) using bookmark fields. However, my research is far
from done; so any help on this would be appreciated. Thanks so much
for your inquiry.



  #5   Report Post  
Posted to microsoft.public.word.mailmerge.fields
PC User PC User is offline
external usenet poster
 
Posts: 6
Default Word Merge Data From MS Access Options Fields

Thank you for your reply. I would be interested in hearing anyone
else's approach to the problem.

~~ PC


  #6   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default Word Merge Data From MS Access Options Fields

What is the problem?

What do you mean by "the same type of formated form" from you original post?

What is it that you want to appear in the result of the Mail Merge?

If you look at the table behind the Access form, what data appears in what
you call the "Options Fields"?

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"PC User" wrote in message
...
Thank you for your reply. I would be interested in hearing anyone
else's approach to the problem.

~~ PC



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Formatting fields containing data from Access CDM Mailmerge 2 October 1st 08 08:27 PM
Order of data fields in mailmerge from access table Hannah Mailmerge 1 March 9th 08 07:42 AM
GoldMine Link to Word 2007 does not access data fields TOOLS, MACRO SECURITY, MACRO, GOLDMINE Microsoft Word Help 2 October 18th 07 11:42 PM
How can I add data fields to a data source in Word Mail Merge? cd Mailmerge 2 November 7th 05 06:41 PM
Can I merge Access data into FormText fields in Word 2000? artgilbert Mailmerge 1 May 12th 05 04:54 PM


All times are GMT +1. The time now is 11:30 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"