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

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

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

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
Frequent Visitor

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

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

Top Solution Authors
Top Kudoed Authors
Users online (6,817)