Hi,
I have a sharepoint list called timesheet with different field types including text, date and number. I have also created a gallery to display the same information. I have built an configured in power apps, when a user makes a changes in a galarry, using the onchange function, to update the sharepoint list. i got it working for the text and date field but not number field. see below code:
Patch(timesheet, {ID: Gallery1.Selected.ID}, {'Purchase Order Number':ponumberfield.Text}) working
Patch(timesheet, {ID: Gallery1.Selected.ID}, {Date:Datefield.SelectedDate}) working
Patch(timesheet, {ID: Gallery1.Selected.ID}, {Hours:hoursfield.number}) not working.
In Sharepoint, the field type is number in power apps the text field type is also number. i think the problem is i don't have the right syntax where i use number. can someone help?

Report
All responses (
Answers (