473,395 Members | 1,622 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Calculating the number of Working days

Hello any body,

Here is my problem; i use Access 2000. I have found a function named
"Nb.Jours.Ouvres" (in english : "number of working days" , all days but
Saturday and Sunday). The help says that the "reference" "msowcf.dll" has to
be activated. I did it but it does not work and this file is for "MS office
Web Components function librairy" and it seems not to be the good one.
Coulod you help me? Thank you.

Alan.
Oct 29 '06 #1
10 3303
Look at this post:
http://www.accessmonster.com/Uwe/For...16565/VBA-Code
F6GGR wrote:
>Hello any body,

Here is my problem; i use Access 2000. I have found a function named
"Nb.Jours.Ouvres" (in english : "number of working days" , all days but
Saturday and Sunday). The help says that the "reference" "msowcf.dll" has to
be activated. I did it but it does not work and this file is for "MS office
Web Components function librairy" and it seems not to be the good one.
Coulod you help me? Thank you.

Alan.
--
HTH - RuralGuy (RG for short) acXP WinXP Pro
Please post back to this forum so all may benefit.

Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200610/1

Oct 29 '06 #2
Thank you for that soultion. I keep it for myself, but i need to have a
solution with a simple function because it is for a student of mine...
"ruralguy via AccessMonster.com" <u12102@uwea écrit dans le message de
news: 687cc26a448e2@uwe...
Look at this post:
http://www.accessmonster.com/Uwe/For...16565/VBA-Code
F6GGR wrote:
>>Hello any body,

Here is my problem; i use Access 2000. I have found a function named
"Nb.Jours.Ouvres" (in english : "number of working days" , all days but
Saturday and Sunday). The help says that the "reference" "msowcf.dll" has
to
be activated. I did it but it does not work and this file is for "MS
office
Web Components function librairy" and it seems not to be the good one.
Coulod you help me? Thank you.

Alan.

--
HTH - RuralGuy (RG for short) acXP WinXP Pro
Please post back to this forum so all may benefit.

Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200610/1

Oct 29 '06 #3

F6GGR wrote:
Thank you for that soultion. I keep it for myself, but i need to have a
solution with a simple function because it is for a student of mine...
"ruralguy via AccessMonster.com" <u12102@uwe>

This should do it:

http://www.mvps.org/access/datetime/date0006.htm

Oct 29 '06 #4
http://www.mvps.org/access/datetime/date0006.htm

Do you think such clumsy, anitquated and inefficient procedures are why
"real" programmers laugh at us?

Oct 29 '06 #5
"Lyle Fairfield" <ly***********@aim.comwrote in
news:11*********************@i42g2000cwa.googlegro ups.com:
>http://www.mvps.org/access/datetime/date0006.htm

Do you think such clumsy, anitquated and inefficient
procedures are why "real" programmers laugh at us?
Considering some of the clumsy, new and inneficient procedures I
see in C++, vb.net and other languages, No.

As to antequated procedures on the site, that's because Lyle
Fairfield has neglected his duty to create and submit better code.

--
Bob Quintal

PA is y I've altered my email address.

--
Posted via a free Usenet account from http://www.teranews.com

Oct 29 '06 #6
rkc
Lyle Fairfield wrote:
>>http://www.mvps.org/access/datetime/date0006.htm


Do you think such clumsy, anitquated and inefficient procedures are why
"real" programmers laugh at us?
I'll ask the next one I see laughing.
What do they look like?
Oct 29 '06 #7

Bob Quintal wrote:
As to antequated procedures on the site, that's because Lyle
Fairfield has neglected his duty to create and submit better code.
http://groups.google.ca/group/comp.d...c47eee72b935ac

I thought that one was batter code but I must have been mistaken
because I can't find it as someone else's original anywhere.

Oct 30 '06 #8
rkc <rk*@rochester.yabba.dabba.do.rr.bombwrote in news:ivb1h.249$zB4.103
@twister.nyroc.rr.com:
Lyle Fairfield wrote:
>>>http://www.mvps.org/access/datetime/date0006.htm

Do you think such clumsy, anitquated and inefficient procedures are why
"real" programmers laugh at us?
I'll ask the next one I see laughing.
What do they look like?
They're orange, with big teeth and eyes, and their heads are pretty-well
empty. They answer to "Jack".

--
Lyle Fairfield
Oct 30 '06 #9
"Lyle Fairfield" <ly***********@aim.comwrote in
news:11*********************@e64g2000cwd.googlegro ups.com:
>
Bob Quintal wrote:
>As to antequated procedures on the site, that's because Lyle
Fairfield has neglected his duty to create and submit better
code.

http://groups.google.ca/group/comp.d...ccess/msg/4ec4
7eee72b935ac

I thought that one was batter code but I must have been
mistaken because I can't find it as someone else's original
anywhere.
It is definitely an interesting use of the datediff function..
And rather cryptic.

Have you submitted to Dev for the mvps.org site?

--
Bob Quintal

PA is y I've altered my email address.

--
Posted via a free Usenet account from http://www.teranews.com

Oct 30 '06 #10
Thank you for all theese solutions,

Alan

"Lyle Fairfield" <ly***********@aim.coma écrit dans le message de news:
Xn*********************************@216.221.81.119 ...
rkc <rk*@rochester.yabba.dabba.do.rr.bombwrote in news:ivb1h.249$zB4.103
@twister.nyroc.rr.com:
>Lyle Fairfield wrote:
>>>>http://www.mvps.org/access/datetime/date0006.htm

Do you think such clumsy, anitquated and inefficient procedures are why
"real" programmers laugh at us?
I'll ask the next one I see laughing.
What do they look like?

They're orange, with big teeth and eyes, and their heads are pretty-well
empty. They answer to "Jack".

--
Lyle Fairfield

Oct 30 '06 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Ralph Freshour | last post by:
What's a good way to calculate the number of days between two dates in the following format: 2003-07-15 2003-08-02 I've looked at the PHP date functions but I'm still a bit lost...
4
by: Hans Gruber | last post by:
Hi all, I have been struggling with a problem all day, I have been unable to come up with a working solution. I want to write a function which takes 2 unix timestamps and calculates the...
4
by: John | last post by:
hey all..... alright, I am frusterated to the point of throwing my machine out the window (this board went down, trying to find stuff on google, this has been a nightmare) so I hope you guys can...
2
by: celsius | last post by:
Hi folks, Al Bowers wrote this program on comp.lang.c Date: 2001-07-09 13:41:58 PST #include <stdio.h> int isleap (unsigned yr); static unsigned months_to_days (unsigned month); static long...
3
by: Ron Vecchi | last post by:
I need to calculate the age of a person based on a DateTime BirthDate I was thinking TimeSpan ts = DateTime.Now - BirthDate; //I can get the days but not years. // I could check each...
9
by: clintonb | last post by:
I'm looking for a way to calculate the number of days between two dates using standard C++ functions. Would it be as simple as just using the difftime() function and then dividing that result by...
4
realin
by: realin | last post by:
hi guys.. I have made a function which counts the numbers of days or hours or minutes from the current datetime to the give datetime.. but i am confused while displaying number of days along with...
8
by: =?Utf-8?B?QWw=?= | last post by:
I am working in vb2005. how can I calculate business days (not including holidays and weekends) between 2 dates? thanks Al
5
by: jjkeeper | last post by:
G'day, I'm currently working on an annual leave database for the company, so far so good, till they want the database to be able to identify public holidays and prevent reducing the employee's...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.