DBAchick
Programmer
- Apr 27, 2000
- 61
I searched the forum, but could not find this issue addressed. Access 2000.
I have a query in which one field is a date. I have parsed out MyMonth: MyMonth = Month([MyDate]) and now want to perform a function on MyMonth to get the month 6 months from now, My6Month.
Example: If MyDate is 09/30/2000, MyMonth is 09. If I just add 6 (for 6 months) I get 15 and there is no 15th month (at least on my calendar!)
So, what can I do to my result of '09' to get '03'? and still have a result of '04' give me '10'?
Any help is appreciated.
I have a query in which one field is a date. I have parsed out MyMonth: MyMonth = Month([MyDate]) and now want to perform a function on MyMonth to get the month 6 months from now, My6Month.
Example: If MyDate is 09/30/2000, MyMonth is 09. If I just add 6 (for 6 months) I get 15 and there is no 15th month (at least on my calendar!)
So, what can I do to my result of '09' to get '03'? and still have a result of '04' give me '10'?
Any help is appreciated.