cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Lucas_Ignatius
Helper V
Helper V

Submit to SharePoint Number Column using Patch

I using patch for Save data in PowerApps, but have an error. Which my column "TotalBudget" is Number Column Type

For other column can Save to SharePoint List.

MyCode:

 

Patch('Budget Master 2', Defaults('Budget Master 2'),{Title:Dropdown2.Selected.Result, Company:Dropdown3.SelectedText, Department:Dropdown1.Selected.Result, BudgetID: TextInput1.Text, TotalBudget:TextInput2.Text});

 

 My Screenshoot for better explain

Lucas_Ignatius_0-1622621144470.png

Thank You

1 ACCEPTED SOLUTION

Accepted Solutions
Aki78
Helper I
Helper I

Try the below:

TotalBudget: Value(TextInput2.Text)

View solution in original post

13 REPLIES 13
zmansuri
Community Champion
Community Champion

If you are submitting whole form. Why use patch? Why not SubmitForm?

Hi @zmansuri , 

Can you help me formula SubmitForm ? Because I only now Patch Function.

I'm very helped if there have easy formula

 

 

Ok. When you are submitting the whole form don't use patch.

formula is

on your submit button OnClick property: SubmitForm(Formname)

 

That's it. Every value will be submitted. Patch is used when you are submitting partial values. 

Try that and get back to me.

Aki78
Helper I
Helper I

Try the below:

TotalBudget: Value(TextInput2.Text)

View solution in original post

Can you help me to find FormName? Because I'm confused to find my formname.

Thanks

a20.jpga21.jpg

Hi @zmansuri 

 

I'm using canvas, but there is not form.

I give my screenshoot

Lucas_Ignatius_1-1622627267604.png

 

 

You are selecting individual component.

Is your datasource sharepoint?

Click on this icon and send me picture.

a24.jpg

Hi @zmansuri 

Yes my datasource is SharePoint

Lucas_Ignatius_0-1622628453739.png

 

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (2,636)