Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Outlook Custom Form and DateAdd

Status
Not open for further replies.

andy98

Programmer
Jul 7, 2000
120
GB
Hi

I have two date fields on an Outlook custom form.

One is completed when the Order has been taken (orderDate)
and the other is a (deliveryDate) field which I am trying to have an automatic value of 2 days after the (orderDate)
completed as soon as the (orderDate) field is completed.

In Outlook's properties for the (deliveryDate) field I am trying to set an initial value with the following code...
DateAdd("h",48,orderDate)

But it doesn't seem to work..

Any ideas?

Regards

Andy
 
What do you mean by "it doesn't seem to work"? Do you get an error? What kind of behavior are you seing? It doesn't seem to work does not give a whole lot to work with.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top