View Single Post
 
Old 04-07-2020, 02:53 PM
macropod's Avatar
macropod macropod is online now Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Quote:
Originally Posted by wolfgrrl View Post
I've got a date picker field in a protected Word form. Protection is set to "filling in forms".

I've set up the date picker via properties to format the date/time as M/d/yyyy h:mm:ss am/pm. I need the time to appear once the date is picked.

The issue is that when the date picker is selected and today's' date is chosen, the actual time is not populated: it defaults to 12:00:00 AM and not the actual time. The date is correct.
Presumably you're referring to a formfield. A formfield formatted as a date formfield with with output formatted as you describe requires an actual date and time to be input if you want the output to be anything other than today's date and/or 12:00:00 AM.

I note that Greg refers to the use of a content control. Do note that content controls and formfields should not be used in the same document. They weren't designed to work that way and doing so is a known source of problems.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote