Hi,
I need to be able to show the number of days between a date in a table and now. I am using a query to display the details on a form but I need the number of days to show as an additional field. I am trying to use DateDiff but I keep getting a syntax error. This is the code I am using in the query
Expr1: ([DateDiff],'d',[DOB],[Date()])
Any help would be appreciated.
Thanks
I need to be able to show the number of days between a date in a table and now. I am using a query to display the details on a form but I need the number of days to show as an additional field. I am trying to use DateDiff but I keep getting a syntax error. This is the code I am using in the query
Expr1: ([DateDiff],'d',[DOB],[Date()])
Any help would be appreciated.
Thanks