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))
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
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Top Kudoed Authors
Users Online
Currently online: 368 members 3,911 guests
Please welcome our newest community members: