Hey you all..!!
I am working on a little booking system (equipment rental) and I have figured out have to match double bookings by serial in column "B", but I want the form to find the serial and check for available dates.
Like this NOT A CODE (Check out the pictures and code if you don't understand)
Find match (Serial) = True then
IF End date (Second TexBox (2) in form) > Column "E" Start Date (and row where it did match the Serial) = True then
MsgBox "There is already a booking in this in selected period"
IF not true then
IF Start Date (First TextBox (1) in form) < Column "F" End Date (and row where it did match the Serial) = True then
MsgBox "There is already a booking in this in selected period"
Thanks in advance, let me know if you need more information.
BookForm.JPG
DataBase.JPG
This is what I have so far
And here is the full code if your are interestedPlease Login or Register to view this content.
Please Login or Register to view this content.
Bookmarks