Calculating "Workdays" in an Access 2007 Form?

  • Thread starter Thread starter NC
  • Start date Start date
N

NC

How do I calculate the number of work days between two dates using the
"Workdays" function in an Access 2007 Form? Right now, I'm getting the
"#Name?" error when I use "=Workdays([startdate],[enddate])" as my function.
I'm not a coder or programmer so a simple set of instructions would be most
helpful.

Thank you,

NC
 
My Access 2007 does not have "Workdays" function.

Try testing the function like this - =Workdays(#11/3/2009#,#11/5/2009#)

Most of the time Access shows "#Name?" when it can not find a field defined
in the SQL statement. Check the field names for typos.
 
Found these in another post --
Take a look at : (specifically the dhCountWorkdaysA function)
http://www.mvps.org/access/datetime/date0012.htm

More generaly:
http://www.mvps.org/access/datetime/index.html

--
Build a little, test a little.


KARL DEWEY said:
My Access 2007 does not have "Workdays" function.

Try testing the function like this - =Workdays(#11/3/2009#,#11/5/2009#)

Most of the time Access shows "#Name?" when it can not find a field defined
in the SQL statement. Check the field names for typos.


--
Build a little, test a little.


NC said:
How do I calculate the number of work days between two dates using the
"Workdays" function in an Access 2007 Form? Right now, I'm getting the
"#Name?" error when I use "=Workdays([startdate],[enddate])" as my function.
I'm not a coder or programmer so a simple set of instructions would be most
helpful.

Thank you,

NC
 
Thank you for the information. Unfortunately, applying the code didn't work
for me (probably as I'm not fully understanding how to use it) and the
alternative way of entering the dates didn't work...

Still workin' on it tho'...

Cheers,

NC

KARL DEWEY said:
Found these in another post --
Take a look at : (specifically the dhCountWorkdaysA function)
http://www.mvps.org/access/datetime/date0012.htm

More generaly:
http://www.mvps.org/access/datetime/index.html

--
Build a little, test a little.


KARL DEWEY said:
My Access 2007 does not have "Workdays" function.

Try testing the function like this - =Workdays(#11/3/2009#,#11/5/2009#)

Most of the time Access shows "#Name?" when it can not find a field defined
in the SQL statement. Check the field names for typos.


--
Build a little, test a little.


NC said:
How do I calculate the number of work days between two dates using the
"Workdays" function in an Access 2007 Form? Right now, I'm getting the
"#Name?" error when I use "=Workdays([startdate],[enddate])" as my function.
I'm not a coder or programmer so a simple set of instructions would be most
helpful.

Thank you,

NC
 
Back
Top