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

Status
Not open for further replies.
C

cmonroe21

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.


200903
 
U

U3VlIE1vc2hlciBbTVZQXQ

RE: 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 " 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.

> >
> 200903

>
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
S save attachment with date & time mentioned inside the file Outlook VBA and Custom Forms 0
witzker Pls help to change the code for inserting date in Ol contact body Outlook VBA and Custom Forms 5
C Outlook with Office365 - search across account, by date rate, in multiple folders - how? Using Outlook 2
M Sorting by Day in Date Column Advanced Filter BCM (Business Contact Manager) 1
V Date and/or time error in Outlook Form Outlook VBA and Custom Forms 0
S Body text of Email from invite date/time Outlook VBA and Custom Forms 7
V 10 Years calenders -single date together Exchange Server Administration 8
O Export Outlook calendar appointments by filters and date range Outlook VBA and Custom Forms 1
D Add date next to day name in Outlook Today calendar view Using Outlook 1
X If you change expiration date of repeated task it dupplicates Using Outlook 1
D Archive by receive date not working Using Outlook 2
V Making a Date field mandatory in outlook form Outlook VBA and Custom Forms 2
P Auto Insert Current Date or Time into Email Subject Outlook VBA and Custom Forms 2
L Ctrl Alt d date stamp use Using Outlook 1
A Create date folder and move messages daily Outlook VBA and Custom Forms 1
witzker Outlook 2010 Insert Date & Time at the button of an OL contactform in red Using Outlook 2
O Tasks - Is there a postponed date column? Using Outlook 7
J Command Button to stamp a date and time in a textbox in Outlook 2016 Outlook VBA and Custom Forms 3
K Outlook Archive to PST Files by Date Range VBA Script? Outlook VBA and Custom Forms 1
W Save and rename outlook email attachments to include domain name & date received Outlook VBA and Custom Forms 4
F Finding Meetings/Tasks in a date range Using Outlook 1
W Save Outlook attachment in network folder and rename to current date and time Outlook VBA and Custom Forms 18
M Macro to add date/time stamp to subject Outlook VBA and Custom Forms 4
V Changing default date for task follow-up buttons Using Outlook 2
J Old unread emails on current date (MDaemon Server) Using Outlook 1
D Outlook macro with today's date in subject and paste clipboard in body Outlook VBA and Custom Forms 1
C Need VBA code to automatically save message outside outlook and add date Outlook VBA and Custom Forms 1
B Search by date macro Outlook VBA and Custom Forms 0
S set a flag task date as the next weekday Outlook VBA and Custom Forms 4
K Daily task list > show tasks on the exact due date and not on the "current date" Using Outlook 1
S Outlook User defined date field (UDF) not syncing Using Outlook 2
I Email Replied for first time Date/Time Outlook VBA and Custom Forms 2
E Outlook 2010 disable date auto-complete Using Outlook 2
Diane Poremsky Display the Created Date field of any Outlook item New Slipstick.com Articles 0
L set task reminder date to same as start date (without affecting due date) Using Outlook 0
Patrick van Berkel Best way to share (and keep up-to-date) Macro's in Outlook 2010 Outlook VBA and Custom Forms 6
GregS "Your <mail provider> settings are out of date" Using Outlook 0
C Recurring Task End Date Varies Using Outlook 3
P Date Picker in email Using Outlook 4
S stop calendar date reverting to today Using Outlook 7
oliv- .RESTRICT returning birthdays regardless of the filtering date Outlook VBA and Custom Forms 8
sneaky30 convert text to date Outlook VBA and Custom Forms 1
M Clear custom date field after recurrence Outlook VBA and Custom Forms 0
E Recurred tasks are created with a wrong due date Using Outlook 0
S Reply & Forward Date in original message incorrect Using Outlook 2
D Attaching date named files Using Outlook 3
M Outlook VBA Macro that could retrieve/display the (From, Subject, Date Received) Outlook VBA and Custom Forms 2
J Can I sort meeting requests by the date of meeting? Using Outlook 4
O Calendar Sharing - From This Date On? Using Outlook 1
P Updating Last Modified Date on ThisOutlookSession Macro Outlook VBA and Custom Forms 1

Similar threads

Top