OK, Ive been puzzling for awhile on this one, and everytime I think of something, it wont work.
Heres what I got. I have a massive database with many fields, one in particular is time (which would be the time that the training session would start). If someone tries to enter training for another person at that same time and day, ive written code that alerts the end user and tells them to change it, and who the conflicting schduled time is with. Training needs to be at LEAST 30 mins long and only one person in there at a time. Is there a way to compare the times so they at least meet this requirement?
Example someone is schduled at 1100. Another person wants to schedule @ 1100 but cant. So they type 1101 and the schdule lets it happen. What it needs to do is not allow it unless the time is 30 mins over the 1100 time or whatever time was originally the conflict. Same way if theres a time for 1115 and someone tries to schdeule at 1100, it shouldnt be able to go thru.
Any ideas?
Heres what I got. I have a massive database with many fields, one in particular is time (which would be the time that the training session would start). If someone tries to enter training for another person at that same time and day, ive written code that alerts the end user and tells them to change it, and who the conflicting schduled time is with. Training needs to be at LEAST 30 mins long and only one person in there at a time. Is there a way to compare the times so they at least meet this requirement?
Example someone is schduled at 1100. Another person wants to schedule @ 1100 but cant. So they type 1101 and the schdule lets it happen. What it needs to do is not allow it unless the time is 30 mins over the 1100 time or whatever time was originally the conflict. Same way if theres a time for 1115 and someone tries to schdeule at 1100, it shouldnt be able to go thru.

Any ideas?