Is it possible to change this code so that it selects the "Check in Date" and adds the "Length of Stay" so that i can get the "End Date" to automatically display the correct date?
Announcements
Is it possible to change this code so that it selects the "Check in Date" and adds the "Length of Stay" so that i can get the "End Date" to automatically display the correct date?
On the OnChange property of Check in you could set a variable and use that with some date math to set the default of your Check out when the form is new.
The syntax will depend on how you have the length of stay set up.
Here is the documentation for DateAdd:
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-dateadd-datediff
WarrenBelz
791
Most Valuable Professional
MS.Ragavendar
410
mmbr1606
275
Super User 2025 Season 1