A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Calculating "Workdays" in an Access 2007 Form?



 
 
Thread Tools Display Modes
  #1  
Old November 9th, 2009, 11:33 PM posted to microsoft.public.access.forms
nc
external usenet poster
 
Posts: 120
Default 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  
Old November 10th, 2009, 12:11 AM posted to microsoft.public.access.forms
KARL DEWEY
external usenet poster
 
Posts: 10,767
Default 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  
Old November 10th, 2009, 12:38 AM posted to microsoft.public.access.forms
KARL DEWEY
external usenet poster
 
Posts: 10,767
Default 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  
Old November 10th, 2009, 06:59 PM posted to microsoft.public.access.forms
nc
external usenet poster
 
Posts: 120
Default 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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 08:17 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.