UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Preventing Overlapping Periods    
 
   
03scbeast
post Apr 8 2005, 12:08 PM
Post #1

New Member
Posts: 3



Main Form: frmProjects (underlying tblProjects)
Subform on Main Form: frmManagers (underlying tblManagers)
Fields for frmManagers: [cboMANAGER_ID], [STARTDATE], [ENDDATE]

Problem: How can I ensure that there are no overlapping periods where one manager is assigned
to a project?

Example: Manager 1 04/04/04 to 04/04/05
Manager 2 04/05/05 to 08/05/05
Manager 3 06/05/05 to 12/05/05

I would want to prevent Manager 3's start date from being entered and display an error message
because it is included in the assignment period for a previous manager.

Thanks for your help.
Go to the top of the page
 
+
raskew
post Apr 8 2005, 06:45 PM
Post #2

UtterAccess Guru
Posts: 805



Hi -

Take a look at Allen Browne's excellent article on clashing events.

HTH - Bob
Go to the top of the page
 
+

Thank you for your support! Reply to this topicStart new topic

Jump To Forum:
 



RSS Go to Top  ·  Lo-Fi Version Time is now: 21st May 2013 - 07:22 PM