How to use Date, Start time and time interval Field
I'm having problems working out how create an appointment based on a date, start time and time interval.
I would like to book in a meeting by putting in the date, Start time and how long the meeting will go for (time interval). I have it set that once I input the data, I click a button and it will create the appointment and put it in the calendar.
Date = 4/4/22
Start time = 10am
Time interval = 1 Hour
Ive watched a youtube video on the subject but did not find any answers.
My solution was the following:
let dS := Date + 'Finish Time'; let dF := Date + 'Start Time'; 'Massage Booking' := appointment(dS, dF)
For some reason dS was putting the time as the finish time and dF was putting it as the start time.
Not entirely sure why but it works
Your code shows that you put 'Finish Time' for dS and 'Start Time' for dF, that is why your times are switched. Unless what you typed in this forum is different then what you have in your DB.