If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
How do I use expression formula to calculate two value?
I want to calculate the difference between two dates in Access. How do I
enter the expression formula? I am at the Table Design only. |
#2
|
|||
|
|||
See:
Calculated fields at: http://allenbrowne.com/casu-14.html The article explains how, when, and why to create a calculated field in a *query* (not at the table level). Use DateDiff() for the difference between 2 dates. -- Allen Browne - Microsoft MVP. Perth, Western Australia. Tips for Access users - http://allenbrowne.com/tips.html Reply to group, rather than allenbrowne at mvps dot org. "Learn new skill" Learn new wrote in message ... I want to calculate the difference between two dates in Access. How do I enter the expression formula? I am at the Table Design only. |
#3
|
|||
|
|||
Learn new skill wrote:
I want to calculate the difference between two dates in Access. How do I enter the expression formula? I am at the Table Design only. Table Design View won't help much -- you'll need a Query. Define a Query based on your Table. In a field in the Query (in Query Design View), enter something like this: ElapsedDays: DateDiff("y",[MyTable]![Date],Now()) -- Vincent Johns Please feel free to quote anything I say here. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Formula to calculate federal income tax | mikeburg | General Discussion | 1 | August 26th, 2005 05:30 PM |
Can someone help with a formula to calculate dates? | SharonP. | General Discussion | 11 | August 9th, 2005 01:47 PM |
Formula to Calculate Age | Tabitha | Worksheet Functions | 2 | January 24th, 2005 04:09 PM |
WHAT IS THE FORMULA TO CALCULATE HOURS BETWEEN TWO TIMES | babu | General Discussion | 4 | September 27th, 2004 11:27 PM |
Creating formula to calculate future dates... | wikked21 | Worksheet Functions | 1 | March 8th, 2004 03:22 PM |