Ok, sorry, I forgot to mention that I got the same error message when I commented the editting of the VisitID field. SO that doesn't seem to be the source of error IMO.
VISIT_ID is a long integer in the access DB.
It is the primary key of the 'Threshold_Test' table, so yes, it is indexed and...