cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
arigl
Level: Powered On

Re: Patching problem

First.

Sienna
Level 10

Re: Patching problem

OK so can you please send a picture of that error with that patch code?

arigl
Level: Powered On

Re: Patching problem

Er2.pngEr1.png

Sienna
Level 10

Re: Patching problem

Ok so just as I said previously... replace the code what you got in OnSelect property with

 

ClearCollect(NewRec,{Date: DatePicker2.SelectedDate,Name:TextInput1.Text,Ar:"1",Dep:"1"});Patch(H,Defaults(H),First(NewRec))
Highlighted
arigl
Level: Powered On

Re: Patching problem

I did and without any change. Patch does not recognize the table H as Datasource.

Sienna
Level 10

Re: Patching problem

can you send picture of it?

arigl
Level: Powered On

Re: Patching problem

Er3.png

Sienna
Level 10

Re: Patching problem

Ok so now can you please send a picture of your datasources connected to your powerapps. Got to

View->Data Sources and it will be on your right side

it should look like this

DataS.png

arigl
Level: Powered On

Re: Patching problem

Er4.png

 

Got to go home now I realy apreciate your help.

Sienna
Level 10

Re: Patching problem

Right so you didn't create a connection to your database. Follow the instruction (option1) I have send you previously. If you do it corrctly you will have the datasorce listed there with blue icon (as you can see it on my picture) and name H. If the name is different you will have to change it also in your OnSellect property Patch

 

File -> Connections..

then from your web borwser

Create a connection -> Chose OneDrive (or OneDrive for busineses) -> Log in

...and so on

Helpful resources

Announcements
Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Microsoft Business Applications Virtual Launch

Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (9,661)