@ngreen
I am a little unsure of whether the SWITCH function is allowed inside UPDATEIF. Perhaps you can give this code a test inside the OnSelect property of the button. Make sure to change all of the control names to match your own.
UpdateIf(
your_datasource_name,
('Starting Date and Time'
>= Date(DatePicker_Start.SelectedDate)
+ Time(dropDown_startHour, dropDown_startMin)
+ Time(Switch(dropDown_AMPM, "AM", 0, "PM", 12),0,0))
And
('Ending Date and Time'
<= Date(DatePicker_End.SelectedDate)
+ Time(dropDown_endHour, dropDown_endMin)
+ Time(Switch(dropDown_AMPM, "AM", 0, "PM", 12),0,0)),
{yourColumn1: textInput_eventLabel.Text}
)
---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."