[dba-Tech] Question about Word fields and custom properties

Bryan Carbonnell carbonnb at gmail.com
Thu Mar 15 07:09:33 CDT 2007


On 3/14/07, artful at rogers.com <artful at rogers.com> wrote:
> I'm monkeying with a template. I have created a field on the title page and on subsequent page headers, that references the document title entered on the properties sheet. I want another field that prints a date on both the title page and subsequent page footers. Call this [Issue Date].
>
> 1. I can't figure out how to refer to a custom property as if it were a field. I cannot figure out how to insert this custom property. When I choose Insert Field from the menu, there doesn't seem to be a way to refer to the custom properties.

Insert| Field....
Document Information from Categories
DocProperty from Field Names

Then click Options and scroll to your property name.

Or you can just type the field in:

{ DOCPROPERTY "YourName"  \* MERGEFORMAT }

where the {} are entered by pressing CTRL+F9

> 2. I can refer to PrintDate or SaveDate, which is good enough, but it prints the time too, and I can't figure out how to format it the way I want (mmm-dd-yyyy).

When you are in the Field Dialog and have selected the date you want,
click the options button and you can select the date format, or even
type your own in.

The field will look like:

{ DATE \@ "MMMM d, yyyy" \* MERGEFORMAT }

-- 
Bryan Carbonnell - carbonnb at gmail.com
Life's journey is not to arrive at the grave safely in a well
preserved body, but rather to skid in sideways, totally worn out,
shouting "What a great ride!"



More information about the dba-Tech mailing list