Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Macros / November 2006

Tip: Looking for answers? Try searching our database.

Access Ver 2.0 Adding days to a date to give target date excluding weekends?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
michael.nilsen@sgs.com - 16 Nov 2006 10:42 GMT
Hi Everyone,

Not sure if i'm posting in the right spot so sorry if its not, please
direct me to the correct location :)

I have three fields in a form, [quote accepted], [days to results] and
[target date]. I need to calculate the target date by adding the [quote
accepted] and [days to results] together but i want to exclude the
weekends as [days to results] is only working days.

Example

Quote accepted date:  16/11/2006

Days to result: 20

Target Date: 14/12/2006

Also there can be time where the information will be missing so
therefore it will have to handle null values ect

I have no preference over code or macro, which ever is better for this
application.
Joseph R. Pottschmidt - 30 Nov 2006 02:20 GMT
Dear Michael:

Since this is a board for posting Macro Help, this isn't the place the
place the request but I would be more than happy to help you.

I need you to answer some simple questions first and then I can help in
writing the function that you're going to need to be able to do what it
is that you request.

1. Do you only want the function to return only Weekday and not
weekends, or would you like it to have the ability to know special
holidays and days when the office will be closed for business?

Let me know and then I can suggest some options for you depending on how
much interaction you're wanting with the function.

Thanks,

Joe P.

-----Original Message-----
From: michael.nilsen@sgs.com [mailto:michael.nilsen@sgs.com]
Posted At: Thursday, November 16, 2006 2:43 AM
Posted To: microsoft.public.access.macros
Conversation: Access Ver 2.0 Adding days to a date to give target date
excluding weekends?
Subject: Access Ver 2.0 Adding days to a date to give target date
excluding weekends?

Hi Everyone,

Not sure if i'm posting in the right spot so sorry if its not, please
direct me to the correct location :)

I have three fields in a form, [quote accepted], [days to results] and
[target date]. I need to calculate the target date by adding the [quote
accepted] and [days to results] together but i want to exclude the
weekends as [days to results] is only working days.

Example

Quote accepted date:  16/11/2006

Days to result: 20

Target Date: 14/12/2006

Also there can be time where the information will be missing so
therefore it will have to handle null values ect

I have no preference over code or macro, which ever is better for this
application.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.