Can someone tell me why the below collection will not submit?
The issue is specifically with the column Five portion of the collection as it was submitting before I added this.
The patch code has the red X beside the submit button, but it isn’t clear why it’s wrong. If I view the collection I can see the date stored there just fine.
Collection code:
Collect(Col1, {One: Country_1.Selected.Value, Two: Text(DateOut_1.SelectedDate,"dd/mm/yyyy"), Three: Text(DateBack_1.SelectedDate,"dd/mm/yyyy"), Four: Reason_1.Selected.Value, Five: Text(Today(),"dd/mm/yyyy")})
Submit button OnSelect code:
Patch('Travel Notification', ForAll(Col1 As _Data,{Destination: _Data.One, Date_Departure: _Data.Two, Date_Return: _Data.Three, Reason: _Data.Four, Date_Created: _Data.Five}));