Question : DoCmd.OutputTo - runtime error 30016 the field 'id' is read only

Hi,

I have added the following line to the click event of an access (adp) form

 DoCmd.OutputTo acOutputQuery, "AllChecks", acFormatXLS, "c:\text.xls", True

I get the error:

DoCmd.OutputTo - runtime error 30016 the field 'id' is read only

AllChecks is a Query that I have created, that does NOT include the 'id' column
which is an identity column.

Answer : DoCmd.OutputTo - runtime error 30016 the field 'id' is read only

PAQed with points refunded (500)

modulo
Community Support Moderator
Random Solutions  
 
programming4us programming4us