cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AppDeveloper
Helper IV
Helper IV

Patch Formula giving me run time error

Hi,

its looks very simple Patch formula but I don't know where is the mistake, can someone please look into this? Regards

 

 

Following patch formula is giving me run time error of "Object must implement IConvertible" .

 

  1. as a Second argument I also try defaults(mysourcename) but it didn't work. see second formula below
  2. I did try to add .Text after each DataCardValue.

 

 

Patch('Employee Checklist',EmployeeGallery.Selected,{'Status of Action (IT)':'DataCardValue30','Equipment Returned':'DataCardValue29','Name of staff member confirming Action is completed (IT)':'DataCardValue37','Date Action Completed (IT)':'DataCardValue44','Notes (IT)':'DataCardValue51'})

 

atch('Employee Exit Checklist',EmployeeGallery.Selected,Defaults('Employee Exit Checklist'),{'Status of Action (IT)':'DataCardValue30','Equipment Returned':'DataCardValue29','Name of staff member confirming Action is completed (IT)':'DataCardValue37','Date Action Completed (IT)':'DataCardValue44','Notes (IT)':'DataCardValue51'});
1 ACCEPTED SOLUTION

Accepted Solutions
WarrenBelz
Super User
Super User

Hi @AppDeveloper ,

That is a data source error - try disconnecting and re-connecting the table, exiting and trying again.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Visit my blog Practical Power Apps

 

View solution in original post

2 REPLIES 2
WarrenBelz
Super User
Super User

Hi @AppDeveloper ,

That is a data source error - try disconnecting and re-connecting the table, exiting and trying again.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Visit my blog Practical Power Apps

 

WarrenBelz
Super User
Super User

Hi @AppDeveloper ,

Just checking if you got the result you were looking for on this thread. Happy to help further if not.

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Visit my blog Practical Power Apps

Helpful resources

Announcements
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (3,095)