I have a form in which I build a list of employees who have attended a training course, then populate new records in a training table based on the list. There has never been a problem with this routine, yet this morning I went in to create the list for a training that happenned earlier this week, and when VBA hit the DoCmd.RunSQL statement that inserts the new record into the table, it threw up the message:
Reserved Error (-1517); There is no message for this error.
So, I re-built the code to use a recordset instead of the RunSQL function. I just tried to run it and got the same error as soon as it tried to set the value for the first field after the .AddNew statement.
I have tried and am able to add a record to the table manually, so it's not an issue with permissions on the back-end.
Anyone have any experience with this? I tried Googling the error and got zip.
Reserved Error (-1517); There is no message for this error.
So, I re-built the code to use a recordset instead of the RunSQL function. I just tried to run it and got the same error as soon as it tried to set the value for the first field after the .AddNew statement.
I have tried and am able to add a record to the table manually, so it's not an issue with permissions on the back-end.
Anyone have any experience with this? I tried Googling the error and got zip.
Comment