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 » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Scheduling



 
 
Thread Tools Display Modes
  #1  
Old February 7th, 2006, 10:43 PM posted to microsoft.public.access
external usenet poster
 
Posts: n/a
Default Scheduling

I'm trying to recreate a schedule that I produced in excel. the excel
schedule uses the workday() function along with string constants to tell me
when the my next task can begin excluding weekends, holidays, and any delays
i might need to add. i can make a simple expression to drive the dates on
the schedule but i don't know how i can make it skip weekends and holidays
and only give me workdays on the report. is this possible or should I just
stick with excel?
--
yque
  #2  
Old February 8th, 2006, 06:02 AM posted to microsoft.public.access
external usenet poster
 
Posts: n/a
Default Scheduling

See:
Doing WorkDay Math in VBA
at:
http://www.mvps.org/access/datetime/date0012.htm

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"yque" wrote in message
...
I'm trying to recreate a schedule that I produced in excel. the excel
schedule uses the workday() function along with string constants to tell
me
when the my next task can begin excluding weekends, holidays, and any
delays
i might need to add. i can make a simple expression to drive the dates on
the schedule but i don't know how i can make it skip weekends and holidays
and only give me workdays on the report. is this possible or should I
just
stick with excel?
--
yque



  #3  
Old February 9th, 2006, 04:45 PM posted to microsoft.public.access
external usenet poster
 
Posts: n/a
Default Scheduling

Thanks, but I'm still not exactly sure on what to do to put that into action
with what I have to do. I fairly new to access.
--
yque


"Allen Browne" wrote:

See:
Doing WorkDay Math in VBA
at:
http://www.mvps.org/access/datetime/date0012.htm

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"yque" wrote in message
...
I'm trying to recreate a schedule that I produced in excel. the excel
schedule uses the workday() function along with string constants to tell
me
when the my next task can begin excluding weekends, holidays, and any
delays
i might need to add. i can make a simple expression to drive the dates on
the schedule but i don't know how i can make it skip weekends and holidays
and only give me workdays on the report. is this possible or should I
just
stick with excel?
--
yque




  #4  
Old February 23rd, 2006, 07:09 PM posted to microsoft.public.access
external usenet poster
 
Posts: n/a
Default Scheduling

I am recieving a data type mismatch error when I try to enter an array in the
"adtmDates" portion of the 'dhAddWorkDaysA' function. If I enter a single
date as a holiday it works fine, but when I try to enter an array... ex:
Array(#1/6/2006#,#1/10/2006#) that is when the data type mismatch occurs.
I don't see an array function listed in my expression builder, but I don't
think that's the problem, is there anyting I can do to make it let me enter
an array of holiday dates here?
--
yque


"Allen Browne" wrote:

See:
Doing WorkDay Math in VBA
at:
http://www.mvps.org/access/datetime/date0012.htm

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"yque" wrote in message
...
I'm trying to recreate a schedule that I produced in excel. the excel
schedule uses the workday() function along with string constants to tell
me
when the my next task can begin excluding weekends, holidays, and any
delays
i might need to add. i can make a simple expression to drive the dates on
the schedule but i don't know how i can make it skip weekends and holidays
and only give me workdays on the report. is this possible or should I
just
stick with excel?
--
yque




  #5  
Old February 24th, 2006, 12:54 AM posted to microsoft.public.access
external usenet poster
 
Posts: n/a
Default Scheduling

The Array() function works in limited circumstances, but you can also load
your array with:
adtmDates(0) = #1/6/2006#
adtmDates(1) = #1/10/2006#
etc.
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"yque" wrote in message
...
I am recieving a data type mismatch error when I try to enter an array in
the
"adtmDates" portion of the 'dhAddWorkDaysA' function. If I enter a single
date as a holiday it works fine, but when I try to enter an array... ex:
Array(#1/6/2006#,#1/10/2006#) that is when the data type mismatch
occurs.
I don't see an array function listed in my expression builder, but I don't
think that's the problem, is there anyting I can do to make it let me
enter
an array of holiday dates here?
--
yque


"Allen Browne" wrote:

See:
Doing WorkDay Math in VBA
at:
http://www.mvps.org/access/datetime/date0012.htm

"yque" wrote in message
...
I'm trying to recreate a schedule that I produced in excel. the excel
schedule uses the workday() function along with string constants to
tell
me
when the my next task can begin excluding weekends, holidays, and any
delays
i might need to add. i can make a simple expression to drive the dates
on
the schedule but i don't know how i can make it skip weekends and
holidays
and only give me workdays on the report. is this possible or should I
just
stick with excel?



  #6  
Old February 24th, 2006, 03:43 PM posted to microsoft.public.access
external usenet poster
 
Posts: n/a
Default Scheduling

I still couldn't get the Array() function to work. However, I put an ' If
adtmDates = 0 Then adtmDates = Array(#1/6/2006#,1/10/2006#) End If '
section into the VBA Code and entered ' 0 ' for the adtmDates in the
function, it works perfect. Thanks very much for your help and direction.
--
yque


"Allen Browne" wrote:

The Array() function works in limited circumstances, but you can also load
your array with:
adtmDates(0) = #1/6/2006#
adtmDates(1) = #1/10/2006#
etc.
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"yque" wrote in message
...
I am recieving a data type mismatch error when I try to enter an array in
the
"adtmDates" portion of the 'dhAddWorkDaysA' function. If I enter a single
date as a holiday it works fine, but when I try to enter an array... ex:
Array(#1/6/2006#,#1/10/2006#) that is when the data type mismatch
occurs.
I don't see an array function listed in my expression builder, but I don't
think that's the problem, is there anyting I can do to make it let me
enter
an array of holiday dates here?
--
yque


"Allen Browne" wrote:

See:
Doing WorkDay Math in VBA
at:
http://www.mvps.org/access/datetime/date0012.htm

"yque" wrote in message
...
I'm trying to recreate a schedule that I produced in excel. the excel
schedule uses the workday() function along with string constants to
tell
me
when the my next task can begin excluding weekends, holidays, and any
delays
i might need to add. i can make a simple expression to drive the dates
on
the schedule but i don't know how i can make it skip weekends and
holidays
and only give me workdays on the report. is this possible or should I
just
stick with excel?




 




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

Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I make scheduling classrooms easier? dna_atg General Discussions 1 September 21st, 2005 05:42 AM
resource scheduling & auto accept Ted Calendar 0 September 1st, 2005 07:08 PM
Resource scheduling corpach Calendar 5 December 22nd, 2004 05:01 PM
See different time zone in scheduling tab Lauren Calendar 1 June 8th, 2004 03:31 AM
Help Please --- does anyone know of a database/template on scheduling school bus or public transportation bus ? St. James Database Design 3 May 11th, 2004 03:11 PM


All times are GMT +1. The time now is 04:39 AM.


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