P
Paul Johnson
I've got the following query, but it does not seem to work
properly as the U_Days_Susp field in a number field where
as the others are all date/time field.
DateDiff("m",Nz([U_DNA],[U_DDA]),[U_Census_Date]-
[U_Days_Susp])
For example...for whatever reason I get the following
result
Census_Date 31/08/2003
U_DDA 10/04/2003
U_DNA 21/06/2003
U_Susp_Days 61
With "d" I get the answer 10 days
Using "m" I get the answer 1 month (should be 0)
DateDiff("m",Nz([U_DNA],[U_DDA]), DateAdd("d",-
[U_Days_Susp],[U_Census_Date])) And it returns the same
answer. Any suggestions?
properly as the U_Days_Susp field in a number field where
as the others are all date/time field.
DateDiff("m",Nz([U_DNA],[U_DDA]),[U_Census_Date]-
[U_Days_Susp])
For example...for whatever reason I get the following
result
Census_Date 31/08/2003
U_DDA 10/04/2003
U_DNA 21/06/2003
U_Susp_Days 61
With "d" I get the answer 10 days
Using "m" I get the answer 1 month (should be 0)
DateDiff("m",Nz([U_DNA],[U_DDA]), DateAdd("d",-
[U_Days_Susp],[U_Census_Date])) And it returns the same
answer. Any suggestions?