Hi all,
After an hour of searching i have decided to surrender and ask!
is saying [Microsoft][ODBC Microsoft Access Driver]COUNT field incorrect
This is because of the first value ?. I have an auto increment table in microsoft access but if I don't enter ? as the value for the auto increment column i get a mismatch error.
Any one know the proper syntax for my problem(how to let access add the auto increment data when working via java)?
Regards
Brendan
After an hour of searching i have decided to surrender and ask!
Code:
s.execute("INSERT INTO customers values(?," +name + "','" + address + "','" + email + "','" + phone + "','" + purchase + "')")
This is because of the first value ?. I have an auto increment table in microsoft access but if I don't enter ? as the value for the auto increment column i get a mismatch error.
Any one know the proper syntax for my problem(how to let access add the auto increment data when working via java)?
Regards
Brendan
Comment