Form Field - Type Date

  • Thread starter Thread starter webnut
  • Start date Start date
W

webnut

I have a form field textbox on a document and have set the TYPE to DATE.
I'd like to set the default to the current system date but am not sure what
to enter in the box. If I enter "DATE()" or "getdate()" I get an error. If
I enter "10/15/2004" I fear that's what will always appear there even
tomorrow. What needs to go here to default properly?

or

Have the TYPE to CURRENT DATE and be able to edit it to a different date and
not have the field ever update it to the current date.

TIA

Glenna
 
Highlight the form field you want to set for date; go to your form field
options icon on the forms toolbar; select type on the drop down list to be
Current Date. That way it will update.
 
You can't edit Current Date field ("fill in enabled" is greyed out) - thats
the problem - and I don't want the field to update to current date after its
been changed.
 
If you want the date the form was filled out, don't use a form field at all.
Use a CreateDate field in the template. Then each new document based on the
template will have the date it was created, which will not update.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA

Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
Suzanne,

From what I see CreateDate won't let the user edit the date.

For the field I need in most cases the current date would apply but on
occasion it would be another date. To make it easier for the user the
current date as a default would be great, but being able to edit and remain
a different date is what I need to acheive.

TIA
Glenna
 
Hi Webnut,
I have a form field textbox on a document and have set the TYPE to DATE.
I'd like to set the default to the current system date but am not sure what
to enter in the box. If I enter "DATE()" or "getdate()" I get an error. If
I enter "10/15/2004" I fear that's what will always appear there even
tomorrow. What needs to go here to default properly?

or

Have the TYPE to CURRENT DATE and be able to edit it to a different date and
not have the field ever update it to the current date.
You'd need a macro to fill in the default date. Then the user can change that
value. Question is, under what circumstances you'd want the macro to trigger
(or, perhaps better, when it should NOT trigger)?

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
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 :-)
 
Back
Top