Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Word/ Access 2007 data merge problem

Status
Not open for further replies.

Donaldp1994

IS-IT--Management
Jun 29, 2012
4
GB
Hi, My first item on your Forum.
I am doing some work for a client taking a select query (with 81 fields) in Access and feeding it into word, with some VB to populate Check boxes.
Some of the fields are not populating correctly from the query in as much as if field e.g. "c2" (in the query can return a number of different numbers e.g.78 or 35, with the fall back being zero); word is reading zero on each occasion.
Does anyone have any idea as to why this is happening?
 
SkipVought said:
...please ALSO include the relevent code that addresses the issue at hand.

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Hi. I can not show the thread as it is not as simple as that. I can see the data correctly in the Access query, but when I run the debug in the word VB the cell result is showing the exception value rather than than value produced in the query.
 
Sorry. My crystal ball isn't working either.

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
FWIW, Checkboxes can only take 1 or 0.

Cheers
Paul Edstein
[MS MVP - Word]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top