Yes, this is Sql Server.
Right now it appears that the code is actually in a stand alone store procedure. The code had worked when sent via ADO from Fox. Still does.
The actual message is CK_event_log. Event_log is the name of the table being written to. Apparently the message is actually CK_ plus the table name. It isn't the SQL internal event_log as it is my table that is messed up. From what I have beem able to tell the message has something to do with constraints with in the table. However, this table has no constraints. It even allows nulls on all but the ID field. I use it to track when programs have run, when significant changes occur and the like. Because of this about the only thing done by code is to insert records.