Link to home
Start Free TrialLog in
Avatar of gtmathewDallas
gtmathewDallas

asked on

Not able to insert data - access - sql - vba

Hi Experts,
I am not able to run the insert query because of some errors, Here I am attaching the db with the table and and the query, Please kindly help,
Thanks
test.accdb
Avatar of PatHartman
PatHartman
Flag of United States of America image

Please tell us what the errors are.  Not everyone can download your database.
Avatar of gtmathewDallas
gtmathewDallas

ASKER

While I am running the insert query through vba, its not appending to the table and shows no errors, so i tested it directly with the query (which got from immediate window) I am getting a big message including the errors type conversion violation - key violation - lock violation - validation rule violation etc. I checked the properties of each fields, but it seems ok there.
ASKER CERTIFIED SOLUTION
Avatar of PatHartman
PatHartman
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks a lot PatHartman, sorry to miss that, I created a new Id field and set that to auto number as you said, Its working fine now,
Thanks again