cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper V
Helper V

Power apps communication with SQL and reading column types, is not null etc.

I have a question regarding how Power apps communicates to SQL database, If I were to submit a new form, which would add a row to the SQL database, is Power apps able to read from the SQL database to see which fields are 'not null' and therefore compulsory fields. And therefore can Power apps be configured to pick up this and tell the user that the field is compulsory, and only allow the user to submit if the fields are all filled in correctly. I want this to dynamically pick up from the information in the SQL database and not configured on the power apps front end Many thanks for your help Jese
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User III
Super User III

Re: Power apps communication with SQL and reading column types, is not null etc.

Hi Jese,

 

When we create a form against a SQL table, PowerApps automatically adds required field validation for fields that are set 'not null'. In the screenshot beneath, we can see how PowerApps adds the associated validation logic, and the * symbol against the Firstname field (this is set to not null in the database).

 

image.png

View solution in original post

1 REPLY 1
Highlighted
Super User III
Super User III

Re: Power apps communication with SQL and reading column types, is not null etc.

Hi Jese,

 

When we create a form against a SQL table, PowerApps automatically adds required field validation for fields that are set 'not null'. In the screenshot beneath, we can see how PowerApps adds the associated validation logic, and the * symbol against the Firstname field (this is set to not null in the database).

 

image.png

View solution in original post

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,846)