I have an issue with my room booking application. when someone Books a room I want to disable that range of time and also if someone else tries to book that same room including that same time range, It should be prevented. Ex:- (A) booked 9.00 to 10.00 and (B) trying to book 8.00 - 11.00 = "Should be Prevented"> How should those codes be done?
Hi @jufguu ,
Hope this gets you started:
If(Not(IsEmpty(Filter(RoomsList, Location = DropDownLocation.Selected.Value && Date = DatePicker.SelectedDate && EndTime>DropDownEndTime.Selected.Value && StartTime<DropDownStartTime.Selected.Value))),Notify("Occupied"),Notify("Vacant"))
Marc
WarrenBelz
146,524
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,906
Most Valuable Professional