formula question

what does < Date() + 30 mean in access?
zachvaldezAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Thomas TurnerCommented:
I believe it displays all records that are more than 30 days after the current date. Let me know if this helps.
0
Jeffrey CoachmanMIS LiasonCommented:
<   means less than
Date()   is the current date (Today)
+30   means add 30 days

So it basically means:
Dates Before Today's Date + 30 days

In other words, if today is 1/15/2012, then Date()+30 would be roughly 2/15/2012
Then the formula reduces to <2/15/2012 (Less than 2/15/2012)
So this expression get all dates before (Less than)  2/15/2012

JeffCoachman
0
Jeffrey CoachmanMIS LiasonCommented:
Note that the Date() returns the current date, and is dynamic.

Meaning if today was 7/2/2015
The expression would get all dates before 8/2/2015

;-)

JeffCoachman
0
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

zachvaldezAuthor Commented:
I have a datefield type  with a value of say

03/06/2007 .. so

03/06/2007  < Date() + 30

what should be displayed or not displayed?
0
Helen FeddemaCommented:
You are asking a question with that expression, so the return value would be True or False (probably not what you intend).  What are you trying to do here?
0
Jeffrey CoachmanMIS LiasonCommented:
Helen is correct, your question does not fit the expression....
Please explain *In Detail* exactly what you have, and exactly what you are trying to accomplish...

<Date()+30  would typically be put in a query as a date filter
Something like:
Only display records where SomeDate field is less than 2/15/2012

Examine this sample
Database115.mdb
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
zachvaldezAuthor Commented:
the expression will be something like


where ((workdatefield) < Date() + 30 )

so if workdatefield has  03/06/2007  for example...
0
Jeffrey CoachmanMIS LiasonCommented:
...Then 03/06/2007 will display
0
zachvaldezAuthor Commented:
not sure what that answer meant.
0
Jeffrey CoachmanMIS LiasonCommented:
Not sure what your question meant...

Helen and I asked:
    "Please explain *In Detail* exactly what you have, and exactly what you are trying to accomplish..."
   "What are you trying to do here?"
0
Jeffrey CoachmanMIS LiasonCommented:
Remember, your question here was:
    <what does < Date() + 30 mean in access?>
Which I explained fully...
0
zachvaldezAuthor Commented:
The original question was answered correctly.
0
Jeffrey CoachmanMIS LiasonCommented:
ok
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.