Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Andrew Andrew is offline
external usenet poster
 
Posts: 48
Default Merging a data extract to Word 2002

Hi,

I have extracted data from my progress database to a text file and want to
merge the data into word. Some of the database fields contain free text,
therefore users have naturally enough used characters such as quotation
marks, commas and carriage returns in these fields. I thought I could get
round this by using | as the field delimiter and ~ as the record delimiter
and, indeed this worked ok, producing fields with the offending characters
read faithfully as text. But now when I try to add more fields using the
same conventions and with characters such as ",CR when I attach the data
source in Word the dialog box where you specify the field and record
delimiters fails to display and the data merges as one glutinous lump!
Am I missing an obvious solution here? Myself and a colleague have checked
and can see no difference between the fields where the offending characters
work and the ones where they don't.
HELP!!!
  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Peter Jamieson Peter Jamieson is offline
external usenet poster
 
Posts: 4,582
Default Merging a data extract to Word 2002

First, ensure that you have the same number of fields in each record. Also,
you might check that you are using the same | character when generating
output from your database as you are using to insert fields manually (there
are a couple, and although they usually appear differently, that isn't
necessarily the case).

Next, try checking Word Tools|Options|General|Confirm conversions at open,
then go through the connection process again and choose the text file option
rather than OLE DB or ODBC.

(Word tries several different methods in succession to open its data source
files - I only know some of the things it uses to decide, but if it has for
some reason decided to use ODBC you won't see the delimiter dialog and it
won't recognise ~ as a record delimiter).

Another possibility might be to try to get the data directly from your
database, or export to a format better suited to containing any character
mix (perhaps to a .mdb (Access/Jet) table. Unfortunately XML is not an
option because WOrd can't use it directly as a data source, but you might
for example be able to go XML-Access-Word or some such.

--
Peter Jamieson
http://tips.pjmsn.me.uk

"Andrew" wrote in message
...
Hi,

I have extracted data from my progress database to a text file and want to
merge the data into word. Some of the database fields contain free text,
therefore users have naturally enough used characters such as quotation
marks, commas and carriage returns in these fields. I thought I could get
round this by using | as the field delimiter and ~ as the record delimiter
and, indeed this worked ok, producing fields with the offending characters
read faithfully as text. But now when I try to add more fields using the
same conventions and with characters such as ",CR when I attach the data
source in Word the dialog box where you specify the field and record
delimiters fails to display and the data merges as one glutinous lump!
Am I missing an obvious solution here? Myself and a colleague have checked
and can see no difference between the fields where the offending
characters
work and the ones where they don't.
HELP!!!


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
Merging a .txt data source to Word 2002 Andrew Mailmerge 1 October 18th 07 04:26 PM
Extract data from Excel for Word burtlake Microsoft Word Help 3 December 3rd 06 12:37 AM
Extract data (not in table) from Word to Excel hellokitty77 Microsoft Word Help 1 January 14th 06 05:28 PM
How do I extract data from a Word Form? Jim Fuchs Microsoft Word Help 4 July 1st 05 06:20 PM
Merging data from two consecutive access records in Word 2002 Frank Spade Mailmerge 3 December 17th 04 09:51 AM


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