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 / General MS InfoPath Questions / December 2005

Tip: Looking for answers? Try searching our database.

Inserting Time

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jools - 28 Dec 2005 13:45 GMT
Hi,

I'm trying to add a checkbox which will enter the current time when I click
it to show when a particular task has been completed. Any ideas? I've only
just started with Infopath today so I've no idea how to do scripts or
anything.

Thanks
SChapman - 28 Dec 2005 14:14 GMT
I'm assuming you have a field that accepts a datetime value as well as your
checkbox.  To insert the current time into your datetime field when someone
clicks the checkbox, right click on the check box and go to the Check Box
Properties.  Then go to Rules... and Add a new rule.  Add a new action to the
rule - and from the drop down of actions, select "Set a field's value".  
Select your field and then for the value click on the icon to insert a
function.  Select the "now" function (you might have to click on the Date and
Time category).

Then go back to your time field and select the properties and click on
Format...  Under the "Display the date like this:" list, select (Do not
display date) and then also select your time format from the "Display the
time like this:" list.

This has been pretty detailed, sorry if you already knew most of those
steps, but I thought I would include as much as possible.

HTH
SChapman

> Hi,
>
[quoted text clipped - 4 lines]
>
> Thanks
 
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.