A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

date formulas / mathematics, setting a field one hour past another field value



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old March 18th 09, 09:46 PM posted to microsoft.public.outlook.program_forms
cmonroe21 via OfficeKB.com
external usenet poster
 
Posts: 53
Default date formulas / mathematics, setting a field one hour past another field value

I am creating a custom outlook form in Outlook 2007 and need to set the value
of a date/time field in a control equal to 1 hour more than the date/time
field in another control. These are the appointment start and end times. I
need the end time control (and thus the end time field) to automatically set
itself to one hour past whatever the start time control (an thus start time
field) is set to by the user, because these must be 1 hour appointments. FYI,
I have the drop down list of both of these controls set in 30 minute
increments, if that makes a difference.

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...forms/200903/1

Ads
  #2  
Old March 18th 09, 11:17 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP][_2_]
external usenet poster
 
Posts: 89
Default date formulas / mathematics, setting a field one hour past another

What's your question? Are you asking how to write a formula that returns a
date/time an hour later than another date/time? Use the DateAdd() method for
that, for example: DateAdd("h",1,[NameOfFirstField])


"cmonroe21 via OfficeKB.com" wrote:

I am creating a custom outlook form in Outlook 2007 and need to set the value
of a date/time field in a control equal to 1 hour more than the date/time
field in another control. These are the appointment start and end times. I
need the end time control (and thus the end time field) to automatically set
itself to one hour past whatever the start time control (an thus start time
field) is set to by the user, because these must be 1 hour appointments. FYI,
I have the drop down list of both of these controls set in 30 minute
increments, if that makes a difference.

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...forms/200903/1


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make a field with a "date dropdown field" Wouter WES Outlook - Using Forms 3 October 15th 08 12:35 PM
Date field prog Outlook - Using Forms 2 May 17th 07 02:47 PM
Setting a date/time field to 'NULL' dch3 Outlook - Using Forms 1 November 16th 06 08:43 PM
How do I know what formulas to use for setting up new emails ? Louie Outlook - General Queries 2 February 4th 06 09:17 PM
date fields - link the calander pop-up to a custom date field Tom Outlook - Using Forms 0 January 23rd 06 09:13 PM


All times are GMT +1. The time now is 02:33 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright 2004-2024 Outlook Banter.
The comments are property of their posters.