Hi All, hoping some genius can help me see a way to acheive this -
I'm building an Equipment Request PowerApp (for things like iPads etc) so staff can request an item, and we can keep track of it.
I can easily book the item out, but what I can't seem to do is then stop someone else creating another request for the same item at the same time.
Any ideas?
I've tried adding a gallery with all the existing bookings, and then filtering by item, start date/time, end date/time, and then using CountRows to return an error if anything is 'found' - this only work if the times are the same, or fall within the start / end times. It doesn't 'find' the existing booking if the new start date/time is BEFORE the existing start date/time, and the new end date/time is AFTER the existing booking end date/time (sorry if i'm not making that very clear). Maybe someone can help me out with this method?
Alternatively, is there a way of getting a unique list of values (minutes) between two dates/times? If I can do that, then I can do a simple comparison between the existing list, and the 'new' list for any matches.
Or alternatively again - does anyone have a completely different way to acheive this? Happy to try different methods!!!
Thank you all in advance.