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

DateAdd issue

P: 1

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.
Jul 31 '08 #1
Share this Question
Share on Google+
1 Reply

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.