Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
FUBARinSFO[_2_] FUBARinSFO[_2_] is offline
external usenet poster
 
Posts: 18
Default SOLVED: Skipped records in Word Mailmerge from Excel data source

PROBLEM

An insidious error can occur in Office 2003 SP3: Word Mailmerge skips
some records when merging from Excel data source using the ODBC
driver. No regular pattern, nothing obviously wrong, and may not even
be caught unless careful attention is being paid to the count of
records in the result set. Testing a subset of the worksheet
(selected key columns) merge OK in test, with no skips. There are no
messages in Event Viewer.

Excel worksheet is not excessively large -- 519 x 38 = 4,152 cells,
including header row. Extract of the worksheet to separate workbook
doesn¡¦t solve the problem. Editing the .odc file and changing the
MaxBufferSize 2048 „³ 4096 doesn¡¦t fix it.

SOLUTION

Trimmed the Notes field to 255 characters or less.

DISCUSSION

The Notes field at the end of the record (last field) on two of my 518
records was longer than 255 characters. This appears to be a
limitation of either MS Query or the ODBC driver itself.

However, there is a workaround which does not involve trimming field
contents. In the listing of Mail Merge Recipients, instead of
selecting ¡§All¡¨ select instead ¡§nonblank¡¨ for one or more of the key
fields. This appears to change the query string in some way that
either ignores the 255-character limit or includes the record with
possibly blank data for the offending field(s) (did not check this
result). In either case it forces all the records to be included in
the result set. Not pretty, but it works to get the answer without
editing field contents.

ƒŞ Roy Zider
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
Not merging all records from an Excel data source CMEC Mailmerge 3 December 8th 06 06:41 PM
Excel as mailmerge data source Mary Ann Mailmerge 2 December 6th 05 06:10 PM
"Word was unable to open the Excel data source" Asp.net Mailmerge Shalini Mailmerge 8 June 23rd 05 02:09 AM
Form Letter In Word / Data Source in Excel ... cannot edit records John Mailmerge 4 May 20th 05 10:33 PM
Formatting a word mailmerge with Excel data source Tracey Mailmerge 2 March 15th 05 02:07 PM


All times are GMT +1. The time now is 02:07 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"