By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,501 Members | 2,681 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,501 IT Pros & Developers. It's quick & easy.

DateAdd issue

P: 1
Hi,

I have 2 fields, one is Operation Date which is the Current Date, the other field is Value Date, whish should be the Operation Date + 1 Day. Can you help me with the expression plz.
Thx.
Jul 31 '08 #1
Share this Question
Share on Google+
1 Reply


missinglinq
Expert 2.5K+
P: 3,532
Expand|Select|Wrap|Line Numbers
  1. Me.[Value Date] = DateAdd("d",1,Me.[Operation Date])
The square brackets are necessary because you apparently have spaces in your object names. This is a very bad idea! Instead use something like OperationDate and ValueDate or Operation_Date and Value_Date

Welcome to Bytes!

Linq ;0)>
Jul 31 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.