Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Mailmerge and Fax / January 2004

Tip: Looking for answers? Try searching our database.

word form: field contents lost on print

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kevin Witty - 27 Jan 2004 17:37 GMT
I've created a Word form, and I fill in the fields from
Access.  When I open the document, everything looks fine;
if I email the document, everythings fine, when I Print
Prview the document, everything fine, BUT WHEN I GO TO
PRINT IT THE CONTENTS OF ALL THE FORM FIELDS DISAPPEAR!

Anyone seen this/ know how to fix it???

Kevin
Charles Kenyon - 28 Jan 2004 00:35 GMT
Uncheck "Update fields" on your Print options?

Signature

Charles Kenyon

See the MVP FAQ: <URL: http://www.mvps.org/word/> which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.

> I've created a Word form, and I fill in the fields from
> Access.  When I open the document, everything looks fine;
[quoted text clipped - 5 lines]
>
> Kevin
Cindy M  -WordMVP- - 28 Jan 2004 17:31 GMT
Hi Kevin,

Charles's suggestion should certainly work. But more
correct would be to protect the document as a form... (As
in the command Tools/Protect document - and you do it
BEFORE you put info into the form fields)

> I've created a Word form, and I fill in the fields from
> Access.  When I open the document, everything looks fine;
> if I email the document, everythings fine, when I Print
> Prview the document, everything fine, BUT WHEN I GO TO
> PRINT IT THE CONTENTS OF ALL THE FORM FIELDS DISAPPEAR!

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update
Sep 30 2003)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any
follow question or reply in the newsgroup and not by e-mail
:-)
Kevin Witty - 28 Jan 2004 22:56 GMT
Cindy and Charles -

Bless you both!  Thought I was going nuts (or MS was).
Didn't even KNOW about the Print Option to Update fields.
Guess there must be a reason for this to do what it does if
the box is checked, but it sure doesn't spring readily to mind!

And the Protect Fields works great: it actually takes the
info OUT of the the form fields even if info has been put
in.  (I'm copying the original doc to a new name before I
fill in the fields with VBA.)

Thanks, guys!  You're lifesavers!

Kevin

>-----Original Message-----
>Hi Kevin,
[quoted text clipped - 21 lines]
>
>.
Cindy M  -WordMVP- - 29 Jan 2004 18:39 GMT
Hi Kevin,

> Bless you both!  Thought I was going nuts (or MS was).
> Didn't even KNOW about the Print Option to Update fields.
> Guess there must be a reason for this to do what it does if
> the box is checked, but it sure doesn't spring readily to mind!
>  
What's happening here is that the form fields are updating. When
form fields are updated in a *unprotected* document, they revert
to the default. And the default default <g> is "empty" (you can
also set a default text in the form fields' Options).

> And the Protect Fields works great: it actually takes the
> info OUT of the the form fields even if info has been put
> in.  (I'm copying the original doc to a new name before I
> fill in the fields with VBA.)

Yes, activating protection also forces the fields to update :-)
A couple of points that may come in handy for you in the future:

1. Starting with Word 2002, clicking the "padlock" button in the
toolbar will NOT empty the fields (the menu will still do so,
however)

2. There is an equivalent argument for the Protect method in
the Word object model: NoReset. If you put it = False the form
fields will retain the values; = True you can wipe out the
values.

One additional observation: it sounds like you should be using a
TEMPLATE for this project. Or at least using the Documents.Add
method. Copying and reusing a file in Word is "politically
incorrect" (to say nothing of chancey); using the Add method you
effectively generate a copy (without having to do so explicitly).
And in a template you could have everything preset to the way you
want to have it, to begin with.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Sep 30
2003)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow
question or reply in the newsgroup and not by e-mail :-)

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.