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

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

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!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (9,766)