DateDiff function

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,
I'm using this expression : =DateDiff([m],Date(),[Datehired])
to get the number of months betweem today and the date employees were hired
and it returns #Name?

What is wrong with the expression?
 
Hello,
I'm using this expression : =DateDiff([m],Date(),[Datehired])
to get the number of months betweem today and the date employees were hired
and it returns #Name?

What is wrong with the expression?

=DateDiff("m",[Datehired],Date())
 
Hi,

I'm having the same problem with Expression Builder

=DateDiff("d",[SubDueDate],Date())

I've tried changing it to [MemberSubs]![SubDueDate] and still get #Name?.
I even tried to create a query for this and other problems I have encountered
- some have worked in the query but then when I use it from a form I get the
same error again.

This is SO frustrating! Can someone tell me what I am doing wrong? Is
there a difference in the way code is written in Queries and in Expression
Builder?

Thanks in anticipation.

T

fredg said:
Hello,
I'm using this expression : =DateDiff([m],Date(),[Datehired])
to get the number of months betweem today and the date employees were hired
and it returns #Name?

What is wrong with the expression?

=DateDiff("m",[Datehired],Date())
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

field calculation resulting as 0 6
Date Differences in Years 3
DateDiff issue 7
Datediff function? 3
datediff 4
Does DateDiff Have A Bug 14
DateDiff Question 3
Access Access, problem with query. 5

Back
Top