You are linked to a sql server table, and you have a CHECK constraint
on one of the fields, and you are violating it.
Why do you say that? SQL Server doesn't have 'validation
rules' (mentioned by the OP in the subject line). This being the
Access group, Isn't it more likely that it's a Jet CHECK constraint?
....in which case, I think it is an internal CHECK constraint rather
than a user defined one. A user defined CHECK should return the
constraint name; if you didn't give the constraint a name at design
time then Jet would have made one up for you and show this e.g.
CREATE TABLE Test1
(
col1 DATETIME,
CHECK (DATEADD('YYYY', 99, col1) < #9999-12-31 23:59:59#)
)
;
INSERT INTO Test1 (col1) VALUES (#9999-12-31 23:59:59#)
;
The failure message I see is:
Error evaluating Check_7881380B_B4BA_4AF4 CHECK constraint.
Check_7881380B_B4BA_4AF4
On the other hand, the system CHECK constraint failure messages I've
seen (e.g. exceeding row limit) simply return:
Error evaluating CHECK constraint
with the double space indicating the constraint name placeholder.
Jamie.
--