Michelle Logan Posted September 19, 2012 Posted September 19, 2012 In our portal, we have a Start Date and a Start Time field (popup value list of times). These fields let an instructor indicate the day and time they started a session. When an instructor completes the session they can start a new session and time on a new portal row. A small problem we have is that an instructor may start their session today at 1:00 p.m., then for their next session (on a new portal row) they may accidentally select 1:00 p.m. again (instead of 1:15 p.m.). Is there a way to stop them from entering the same start time for any of today's sessions. Michelle
comment Posted September 19, 2012 Posted September 19, 2012 Define a self-join of the portal table: Sessions::InstructorID = Sessions 2::InstructorID AND Sessions::StartDate = Sessions 2::StartDate AND Sessions::StartTime = Sessions 2::StartTime AND Sessions::SessionID ≠ Sessions 2::SessionID Validate: not Sessions 2::SessionID
Michelle Logan Posted September 19, 2012 Author Posted September 19, 2012 Thank you for the quick reply and the information. I Have not done a self-join, but this looks like it may be a good time to jump in feet first! Michelle
Recommended Posts
This topic is 4447 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now