cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Patch (Defaults) SQL table collect


Insert a collection into an SQL table
Formula :
Patch('[dbo].[Matrix]';Defaults(Collect6))


- You must specify values ​​for the item. clientReguestid - error
Collect 6 - in collection6, all fields are filled except for the id1 (primary key) field (It should go automatically)

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User III
Super User III

Re: Patch (Defaults) SQL table collect

ForAll(Collect6,

Patch(
'[dbo].[Matrix]',Defaults('[dbo].[Matrix]'),
{ColumnName1: CollectionColumnName1,
ColumnName2: CollectionColumnName2,
ColumnName3: CollectionColumnName3,
ColumnName4: CollectionColumnName4}))

 

If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution

View solution in original post

2 REPLIES 2
Highlighted
Super User III
Super User III

Re: Patch (Defaults) SQL table collect

ForAll(Collect6,

Patch(
'[dbo].[Matrix]',Defaults('[dbo].[Matrix]'),
{ColumnName1: CollectionColumnName1,
ColumnName2: CollectionColumnName2,
ColumnName3: CollectionColumnName3,
ColumnName4: CollectionColumnName4}))

 

If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution

View solution in original post

Highlighted
Frequent Visitor

Re: Patch (Defaults) SQL table collect

Thank you very much!!!

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (7,253)