My program keeps crashing at a simple line of code that does nothing more than add the date to the field on a form. The reason I can't figure out why is because I have two versions of this program and it works just fine in the other one.
Here's the error message:
Run-timer error '3027':
Cannot update. Database or object is read only.
Line of code in question:
'Update date field
.Edit
.Fields("EmailToCardHolders" = Date
.Update
Here's the error message:
Run-timer error '3027':
Cannot update. Database or object is read only.
Line of code in question:
'Update date field
.Edit
.Fields("EmailToCardHolders" = Date
.Update