473,379 Members | 1,253 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

Check Contraint error message?

Last week, 2 different times, a person closed the form and received a
"Error Evaluating Check Constraint in the validation rule" I have no
idea what the error number is for this error. I have no validation
rules on the table or controls. Does anybody have a clue what would
trigger this error message?

Jul 8 '08 #1
5 2065
On Tue, 08 Jul 2008 08:33:34 -0700, Salad <oi*@vinegar.comwrote:

I bet this is an Access db with a SQL backend, a little gem you left
out of your description.
Look up Check Constraints in Books Online, the SQL Server help file.

-Tom.

>Last week, 2 different times, a person closed the form and received a
"Error Evaluating Check Constraint in the validation rule" I have no
idea what the error number is for this error. I have no validation
rules on the table or controls. Does anybody have a clue what would
trigger this error message?
Jul 9 '08 #2
Tom van Stiphout wrote:
On Tue, 08 Jul 2008 08:33:34 -0700, Salad <oi*@vinegar.comwrote:

I bet this is an Access db with a SQL backend, a little gem you left
out of your description.
Look up Check Constraints in Books Online, the SQL Server help file.

-Tom.
I wish that were the problem. The front end is A2003. The backend is
still in A97 format because there's a couple still in A97. Shortly
everyone will be A2003. I think that the error occurred with an A2003
machine.
>>Last week, 2 different times, a person closed the form and received a
"Error Evaluating Check Constraint in the validation rule" I have no
idea what the error number is for this error. I have no validation
rules on the table or controls. Does anybody have a clue what would
trigger this error message?
Jul 9 '08 #3
On Tue, 08 Jul 2008 21:01:58 -0700, Salad <oi*@vinegar.comwrote:

Could it be it's not a standard runtime error but a custom one
generated by the app?
-Tom.

>Tom van Stiphout wrote:
>On Tue, 08 Jul 2008 08:33:34 -0700, Salad <oi*@vinegar.comwrote:

I bet this is an Access db with a SQL backend, a little gem you left
out of your description.
Look up Check Constraints in Books Online, the SQL Server help file.

-Tom.

I wish that were the problem. The front end is A2003. The backend is
still in A97 format because there's a couple still in A97. Shortly
everyone will be A2003. I think that the error occurred with an A2003
machine.
>>>Last week, 2 different times, a person closed the form and received a
"Error Evaluating Check Constraint in the validation rule" I have no
idea what the error number is for this error. I have no validation
rules on the table or controls. Does anybody have a clue what would
trigger this error message?
Jul 9 '08 #4
Tom van Stiphout wrote:
On Tue, 08 Jul 2008 21:01:58 -0700, Salad <oi*@vinegar.comwrote:

Could it be it's not a standard runtime error but a custom one
generated by the app?
-Tom.
I really don't know. The person said it was when they exited a form.
Both times it was the same form. The form hasn't been modified in a
while. Since it's happened twice in hundreds/thousands of
opening/closing the form by many people I'd think I'd get the error more
often.

My problem is that I'm off site and am informed long after the error
occurred when it'd be fresh in the mind of the user. I don't know what
routine caused the error so this makes it hard for me to track down.
>

>>Tom van Stiphout wrote:
>>>On Tue, 08 Jul 2008 08:33:34 -0700, Salad <oi*@vinegar.comwrote:

I bet this is an Access db with a SQL backend, a little gem you left
out of your description.
Look up Check Constraints in Books Online, the SQL Server help file.

-Tom.

I wish that were the problem. The front end is A2003. The backend is
still in A97 format because there's a couple still in A97. Shortly
everyone will be A2003. I think that the error occurred with an A2003
machine.

>>>>Last week, 2 different times, a person closed the form and received a
"Error Evaluating Check Constraint in the validation rule" I have no
idea what the error number is for this error. I have no validation
rules on the table or controls. Does anybody have a clue what would
trigger this error message?
Jul 9 '08 #5
On Tue, 08 Jul 2008 21:56:19 -0700, Salad <oi*@vinegar.comwrote:

One intermediate step would be to outfit the application with a better
error handler, at least in that area. One that writes to an error log
file as well.

-Tom.

>Tom van Stiphout wrote:
>On Tue, 08 Jul 2008 21:01:58 -0700, Salad <oi*@vinegar.comwrote:

Could it be it's not a standard runtime error but a custom one
generated by the app?
-Tom.

I really don't know. The person said it was when they exited a form.
Both times it was the same form. The form hasn't been modified in a
while. Since it's happened twice in hundreds/thousands of
opening/closing the form by many people I'd think I'd get the error more
often.

My problem is that I'm off site and am informed long after the error
occurred when it'd be fresh in the mind of the user. I don't know what
routine caused the error so this makes it hard for me to track down.
>>

>>>Tom van Stiphout wrote:

On Tue, 08 Jul 2008 08:33:34 -0700, Salad <oi*@vinegar.comwrote:

I bet this is an Access db with a SQL backend, a little gem you left
out of your description.
Look up Check Constraints in Books Online, the SQL Server help file.

-Tom.

I wish that were the problem. The front end is A2003. The backend is
still in A97 format because there's a couple still in A97. Shortly
everyone will be A2003. I think that the error occurred with an A2003
machine.


>Last week, 2 different times, a person closed the form and received a
>"Error Evaluating Check Constraint in the validation rule" I have no
>idea what the error number is for this error. I have no validation
>rules on the table or controls. Does anybody have a clue what would
>trigger this error message?
Jul 9 '08 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Jonathan | last post by:
I am looking for a simple way to check if a database table exists. I keep getting advice to use "Try.. Catch" and other error handling methods, but I obviously don't want to have to display an...
1
by: Dharmesh Gandhi | last post by:
DB-Library Error 10007: General SQL Server error: Check messages from the SQL Server. CREATE PROCEDURE . ( @srvr varchar(50),
5
by: Doug Baroter | last post by:
Hi, DDL: -- create table #task (taskID int identity(1,1) primary key, taskName varchar(25) unique, taskCompleteDate dateTime, taskComplete bit default(0)); /* Business Rules: a) if...
11
by: zhong | last post by:
Error Message: Run-Time Check Failure #0 - The value of ESP was not properly saved across a function call. This is usually a result of calling a function declared with one calling convention...
3
by: ferg | last post by:
I have a Customer table. The table has two different CHECK constraints. Then there is the Customer details dialog, which provides the user with an UI for changing users. I have some UPDATE sql,...
8
by: Iona | last post by:
Hi Allan, I'm using a nifty piece of code you put on here some time back to do a duplicate entry check as below. I'm using to check for duplicate names. However I am getting an error message on...
18
by: Joel Hedlund | last post by:
Hi! The question of type checking/enforcing has bothered me for a while, and since this newsgroup has a wealth of competence subscribed to it, I figured this would be a great way of learning...
4
by: Mark Berry | last post by:
Hi, I'm working on my "last resort" error block for a web application. If the error occurs after a Request has been made, I want to show the URL. If the Request object is not available, I'll...
1
by: crichard1983 | last post by:
I'm using a Unique Key constraint for the first time, and I think I may not be understanding something correctly. I have a table with a Primary key (media_format_id) that is auto-increment. Then I...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.