TorrediPisa
Programmer
Hello to everyone.
I have some difficulties in using the function Datediff in the QBE of Access 97.
For example I simply need to calculate the number of days between the current date (Date) and each date stored in the column ReferenceDate of a Table: Therefore I write like this:
Expr1: DateDiff('d';Date();[ReferenceDate])
But when I have finished to write, the above is automatically changed into:
Expr1: DateDiff('\d';Date();[ReferenceDate])
(a backslash in written before the d parameter)
Although the ReferenceDate is always non Null, the calculation
does not have any effect and a #error is browsed under the Expr1 column.
where in yr opinion is the mistake?
Thank You for Yr time
Best Regards
TorrediPisa
I have some difficulties in using the function Datediff in the QBE of Access 97.
For example I simply need to calculate the number of days between the current date (Date) and each date stored in the column ReferenceDate of a Table: Therefore I write like this:
Expr1: DateDiff('d';Date();[ReferenceDate])
But when I have finished to write, the above is automatically changed into:
Expr1: DateDiff('\d';Date();[ReferenceDate])
(a backslash in written before the d parameter)
Although the ReferenceDate is always non Null, the calculation
does not have any effect and a #error is browsed under the Expr1 column.
where in yr opinion is the mistake?
Thank You for Yr time
Best Regards
TorrediPisa