I am creating a DB in Access 2007 but in 2003 format.
I have two date columns which are editable, but I have others that calculate off of these two fields.
I have this all working in Excel right now but want to put this into a DB.
The Excel calculation I am using first is to take the first editable date in Column K, wo show the date one week prior in Column J using: =DATE(YEAR(K2),MONTH(K2),DAY(K2)-7)
In Column L, I want to show the number of weeks to come or past from Column K using: =ROUNDUP((K2-TODAY())/7,0)
So the spreadsheet shows:
Col J Col K Col L
8/4/2009 8/11/2009 35
The second editable date is the same thing only instead of the Col J formula I need to make it -14 to show 2 weeks prior to the editable date, no sweat.
I can do this in Excel but don't know how to calculate this in Access or where to put the calculation. I create a Query but am not sure where the calucation goes.... does it go in the "Criteria" row in the query?
I'm a novice, I know enough to be kinda dangerous.
PLEASE HELP.
Laurie
LadyCK3
aka: Laurie
I have two date columns which are editable, but I have others that calculate off of these two fields.
I have this all working in Excel right now but want to put this into a DB.
The Excel calculation I am using first is to take the first editable date in Column K, wo show the date one week prior in Column J using: =DATE(YEAR(K2),MONTH(K2),DAY(K2)-7)
In Column L, I want to show the number of weeks to come or past from Column K using: =ROUNDUP((K2-TODAY())/7,0)
So the spreadsheet shows:
Col J Col K Col L
8/4/2009 8/11/2009 35
The second editable date is the same thing only instead of the Col J formula I need to make it -14 to show 2 weeks prior to the editable date, no sweat.
I can do this in Excel but don't know how to calculate this in Access or where to put the calculation. I create a Query but am not sure where the calucation goes.... does it go in the "Criteria" row in the query?
I'm a novice, I know enough to be kinda dangerous.
PLEASE HELP.
Laurie
LadyCK3
aka: Laurie