Re: including form fields in searches



I'm afraid you've pretty well shot yourself in the foot by using form
fields this way. As far as a Windows search is concerned, the only
thing in that spot in each document is a field code -- it's the Word
program that interprets the code and shows a word like "April".

There's one possibility: Use a Word macro that opens each document and
tests the value of that specific dropdown, storing the names of the
matching documents in a list or leaving the document open. This
depends on all the documents being based on the same template, so that
the form field has the same name in each document. It's also going to
be very slow because of the opening and closing of lots of documents,
including those that don't match.

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.

On Wed, 7 Jun 2006 10:20:13 -0500, "Brian Beck"
<brian.beck@xxxxxxxxxxxxxxx> wrote:

I have a template I use for creating letters and it has various form fields
(mostly pull-down menus) that I use to create those letters. I have all of
those letters saved in various folders, and I would like to be able to do a
search in Windows to find all of the letters that have a specific month,
like "April", in the letter. Usually, this form field is the only place
that the name of the month would occur in the letter, so I'm not concerned
about grabbing letters that have the word "April" somewhere else in the body
of the letter.

The problem I have is that Windows does not seem to include the contents of
a form field when doing searches. Whether I'm searching from within the
Word documents themselves, or using Start--->Search, Windows just doesn't
seem to pay attention to those fields. Is there a way to make Windows "see"
the text in those fields so I can search on it?

-Brian

.



Relevant Pages

  • Re: Difficulty printing all of merged document
    ... I just tried selecting and printing a group of 10 documents in Windows ... The letters are saved individually unfortunately rather ... up (we use 4 different HP Laser printers), ...
    (microsoft.public.word.mailmerge.fields)
  • Re: Printing problems
    ... My organization uses Office XP products on Windows 2000 and Windows XP ... into something that does not look like a legible document. ... the letters will look non-proportional and will print that way. ... I'm deploying Office from ...
    (microsoft.public.word.docmanagement)
  • Re: Characters allowed in short filenames
    ... fatgen103.doc is very clear in prohibiting lower-case letters from being stored in a short name. ... US Windows would be 437, ... the current default OEM code page is 437 and I create a new file then the ... page is 850 then we are halfway towards allowing a short filename to contain ...
    (microsoft.public.development.device.drivers)
  • Re: Not about coffee and not about espresso
    ... forename/initials box. ... computer to write my letters, I'd use caps-and-small-caps for the words ... of my surname, with lower-case, except for the initial letter, for my ... "Windows ME fixes many of the shortcomings of Windows 98 SE". ...
    (sci.lang)
  • altering field codes
    ... I write word templates for my company and up until recently we used windows ... field code for the image to allow this can anyone. ... How do I edit this field code in VBA ...
    (microsoft.public.word.vba.general)

Loading