If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Calculating "Workdays" in an Access 2007 Form?
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 |
#2
|
|||
|
|||
Calculating "Workdays" in an Access 2007 Form?
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" wrote: 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 |
#3
|
|||
|
|||
Calculating "Workdays" in an Access 2007 Form?
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" wrote: 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" wrote: 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 |
#4
|
|||
|
|||
Calculating "Workdays" in an Access 2007 Form?
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" wrote: 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" wrote: 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" wrote: 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 |
Thread Tools | |
Display Modes | |
|
|