Do you need to modify a document created by someone else? Or can you
just spit out a Word document from UV?

Some of our report programs generate rtf documents from scratch. It can
be fun getting the format right (we make extensive use of tables to put
stuff in the right place), and Word is not the most forgiving of formats
to use, but you might find this a better approach than faffing about
with replacing text (or not as the case may be).

I'll have to put my stuff up on Pickwiki at some point ...

Cheers,
Wol 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of [EMAIL PROTECTED]
Sent: 03 March 2004 21:09
To: [EMAIL PROTECTED]
Subject: [UV] Does anyone know how to

I am running UV 9.5.1... on windows NT (PICK flavor).

I want to be able to read in a .doc file created in Word 2000, do a
string
replace, and then write out the file as a new .doc file.  I have tried
using the standard READ and READSEQ. I use the CHANGE command [REC =
CHANGE(REC,txta,txtb)] and then  WRITE (or WRITESEQ).  In each case I
get
the anticipated results but when I attempt to launch the document in
Word
2000 I get THE "unknown file format" error.  I have to figure that some
characters imbedded in the original document are being stripped by the
limitations of the uniVerse READ and READSEQ commands thus making this
method not practical.  I did this in the past - in another life maybe -
but
this is my first attempt with WORD 2000.  All practical suggestions
appreciated.

dan

Note: Effective February 2, 2004, Arnold & Porter became a limited
liability partnership with the name Arnold & Porter LLP. Please
change your records accordingly. The addresses, telephone and fax
numbers, and e-mail addresses of the firm and attorneys have not
changed.
----------------------------------------------------------------------
This communication may contain information that is legally privileged,
confidential or exempt from disclosure.  If you are not the intended
recipient, please note that any dissemination, distribution, or copying
of this communication is strictly prohibited.  Anyone who receives this
message in error should notify the sender immediately by telephone or
by return e-mail and delete it from his or her computer.
----------------------------------------------------------------------
Daniel Plocinik                     [EMAIL PROTECTED]
Arnold & Porter LLP                 Telephone:  202-274-7639
555 Twelfth Street, NW              Fax:        202-942-5999
Washington, DC  20004-1202

For more information about Arnold & Porter LLP, click here:
         http://www.arnoldporter.com


-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users




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

This transmission is intended for the named recipient only. It may contain private and 
confidential information. If this has come to you in error you must not act on 
anything disclosed in it, nor must you copy it, modify it, disseminate it in any way, 
or show it to anyone. Please e-mail the sender to inform us of the transmission error 
or telephone ECA International immediately and delete the e-mail from your information 
system.

Telephone numbers for ECA International offices are: Sydney +61 (0)2 9911 7799, Hong 
Kong + 852 2121 2388, London +44 (0)20 7351 5000 and New York +1 212 582 2333.

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

--
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users

Reply via email to