We help IT Professionals succeed at work.
Get Started

Validate DevExpress Quantum Grid Field before Post

lgallion asked
Last Modified: 2013-11-23
I am using Delphi and DevExpress Quantum Grid 6.  Sometimes users don't fill in the necessary entries before posting which generates SQL "cannot insert NULL" errors in the application.  I have tried to fix this on the Dataset level but canceling the post makes the user lose the data they have entered without any warning (not a very good solution).  Is there any way to check the entries for empty (null) values before being passed to the dataset for posting?  I can't simply check in the field exit because often the users simply skip the fields or accidentally click on another row causing a pre-mature post.
Watch Question
Top Expert 2004
This problem has been solved!
Unlock 1 Answer and 4 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE