We help IT Professionals succeed at work.
Get Started

Validation using the BeforeUpdate Event

404 Views
Last Modified: 2012-05-12
I have an Access Project linked to SQL 2008 R2. My problem is with a form I have that is using a view.

The majority of the data I can validate using the BeforeUpdate Event, but I have 2 fields that cannot contain nulls. I have this specified in the base table, but unfortunately the form gives me a system error message before my BeforeUpdate event triggers. I want to give the end user a more friendly message than the confusing system message.

I know I could allow nulls in the base table, and check data entry at runtime, but I would prefer to keep the base table the way I have it.

Is there another event that I am missing?
Comment
Watch Question
Database Architect / Application Developer
CERTIFIED EXPERT
Top Expert 2007
Commented:
This problem has been solved!
Unlock 1 Answer and 5 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