Im new in Power Apps so i don know if its posible to add an item to a SQL Table from power apps, please help!
Solved! Go to Solution.
@Danielamgzz
To add a little more to @Pstork1 's comments - it looks like you might not have a primary key on your table as all of the fields you have in your form are showing as View only. This is PowerApps' way of telling you it cannot write to the table...must have a primary key defined for it!
Yes you can Insert or Update records in a SQL table using Power Apps. It does require a premium license and there are some prerequisites to the way the table is created that apply. But it is normally possible. Here's documentation.
Connect to SQL Server from Power Apps - Power Apps | Microsoft Docs
Hi @Pstork1
I already have the connection with SQL, but I do not know how to add the fields of the SQL table to be able to add records
Do you want to add new records of update existing records?
To do that you can submit a Form (New or Edit) or use Patch().
Take a look at this walkthrough. Creating a Basic PowerApp Against a SQL Server Table (pragmaticworks.com)
@Danielamgzz
To add a little more to @Pstork1 's comments - it looks like you might not have a primary key on your table as all of the fields you have in your form are showing as View only. This is PowerApps' way of telling you it cannot write to the table...must have a primary key defined for it!
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
User | Count |
---|---|
252 | |
122 | |
84 | |
84 | |
67 |