Thanks Brian!  I'm going to try this and test it out.  I'll let you know how it 
works!


Lisa



________________________________
From: Action Request System discussion list(ARSList) 
[mailto:arsl...@arslist.org] On Behalf Of Brian Bishop
Sent: Thursday, May 21, 2009 4:52 AM
To: arslist@ARSLIST.ORG
Subject: Re: Calculate Gaps in Schedule

**
Hi Lisa,

You could look at taking the on call end date of person A and subtracting it 
from the on call start date of person B. If the end result is say greater than 
an hour, you could advise somebody. In fact you could make this part of the 
process when entering the dates so that an individual is made aware that their 
on call is starting at an unacceptable time after their colleagues finishes. 
You could make it a warning or an error depending on the severity of it.

I would probably give them an overriding  option which shows that they are 
aware of the gap and then email the groups manager in the background.

Brian Bishop
Goldstag Consultants Ltd
tel: +44 (0)7973 746832

[cid:315082914@22052009-352E]<http://www.linkedin.com/in/brianpbishop>

From: Action Request System discussion list(ARSList) 
[mailto:arsl...@arslist.org] On Behalf Of Kemes, Lisa
Sent: 20 May 2009 17:33
To: arslist@ARSLIST.ORG
Subject: Calculate Gaps in Schedule

**
Is there an easy way I can notify a user if there are gaps in his on call 
schedule?

If person A from Group A is on call from May 1st 12:00am to May 5th 12:00am

And

Person B from Group A is on call from May 7th 12:00am to May 12th 12:00am

I'd like to create some sort of calculation to capture the "gaps" for a user, 
to warn them that nobody is on call from May 5th at 12:01am to May 6th at 
11:59pm.

It might not even have to be that detailed, maybe just a "yes" or "no" that 
there are gaps and I can just notify the admin and they would have to check it 
themselves.....

The data is on a table so I could do a loop and the Date Fields are Date/Time 
Fields.....

ARS 7.01 Patch 3
Windows 2003
Oracle 10i

Lisa Kemes
AR System Developer
Tyco Electronics
717-810-2408 tel
717-810-2124 fax
lisa.ke...@tycoelectronics.com



_Platinum Sponsor: rmisoluti...@verizon.net ARSlist: "Where the Answers Are"_

No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.329 / Virus Database: 270.12.34/2121 - Release Date: 05/18/09 
17:55:00

_Platinum Sponsor: rmisoluti...@verizon.net ARSlist: "Where the Answers Are"_

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor:rmisoluti...@verizon.net ARSlist: "Where the Answers Are"

<<inline: image001.gif>>

Reply via email to