G
Guest
I have an Access table I am doing an insert into. The Insert includes a
select from another table, but does not include the column name of the
autonumber column. If I run the query in Access, it inserts correctly,
generating a new number in the autonum column. If I run it from .net using
executenonquery, I get an error saying the number of columns in the insert
doesn't match the table.
Obviously it's because I am not including the column name. How can I get
around this?
select from another table, but does not include the column name of the
autonumber column. If I run the query in Access, it inserts correctly,
generating a new number in the autonum column. If I run it from .net using
executenonquery, I get an error saying the number of columns in the insert
doesn't match the table.
Obviously it's because I am not including the column name. How can I get
around this?