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

Azure, without primary key in child table not possible to add data

Hi,

I am a beginner to powerapps and ssms, hopefully someone can help me Smiley Happy

If I do not add a primary key to my child table in ssms, the "plus" data icon is not visible:

Knipsel.JPG

 

However, when I add a primay key, the 'plus' icon is visible.

As I do not want to add data to the primay key field (which is now mandatory), what do I have to do?

 

Thanks a lot for your answer!

 

John

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Azure, without primary key in child table not possible to add data

Hi John,

For the SQL Server connector to connect to a table, it is a mandatory requirement for the table to have a primary key.

If it's just the case that you don't want the user to enter a primary key value in your form, you can an int column to your table and set the Identity property to true. This will create a server generated, auto-incrementing primary key value in your table.

View solution in original post

2 REPLIES 2
Super User
Super User

Re: Azure, without primary key in child table not possible to add data

Hi John,

For the SQL Server connector to connect to a table, it is a mandatory requirement for the table to have a primary key.

If it's just the case that you don't want the user to enter a primary key value in your form, you can an int column to your table and set the Identity property to true. This will create a server generated, auto-incrementing primary key value in your table.

View solution in original post

Highlighted
jwi
Level: Powered On

Re: Azure, without primary key in child table not possible to add data

Good day, thanks for your advise!

Works perfect.

John

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (6,147)