old code stops inserting to a database
I have a few lines of very simple code that have stopped working after the server was upgraded to new Microsoft server. The database is Access 2010.
The error code is 500 and that the syntax is not good. I have tried changing to the alternate <cfinsert> option but that still does not work. I have also tried putting the variables inside primes (' #xxx# ')
<cfquery datasource="pcrsp" name="Addrecord">
INSERT INTO ANNPLANREP (objectiveID, ProjectID, Year)
VALUES (#objectiveID#, #ProjectID#, #Year#)
</cfquery>
The code has worked without issue for years what is happening? Other code working with this table successfuly updates the records.
Any ideas?
Tim
