two issues to be aware of:
1)[tab]You appear to be using an international date format (12/7/2000 = 16 months implies the 12 is the date, the 7 is the month ...). Some functions in Ms. Access REQUIRE the date be in "Native" (U.S. format), while others follow the settings of hte date format on the specific machine which the function is executed on.
2)[tab]the datediff function suggested counts the 'transitions' of the interval, so it's accuracy is +/- one unit. If you use "m" then the same answer will be returned for the entire period of two months. As seen in the following (numerous) exanples:
? datediff("m", "07/12/2000", Now)
16
? datediff("m", "07/1/2000", Now)
16
? datediff("m", "07/31/2000", Now)
16
? datediff("m", "07/1/2000", #11/30/2001#)
16
? datediff("m", "07/1/2000", #11/1/2001#)
16
? datediff("m", "07/31/2000", #11/30/2001#)
16
? datediff("m", "07/31/2000", #11/1/2001#)
16
Of course, to be more 'accurate', you would need to be more specific in your 'deffinition' of month. MichaelRed
m.red@att.net
There is never time to do it right but there is always time to do it over