cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
Super User III
Super User III

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
Super User III
Super User III

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

Frequent Visitor

Thank you very much!!!

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (49,635)