954,600 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Asp + Jet

i tried to insert data from a form using jet

now everythign wirked fine apart from it refusing to handle db fields with auto increment

my db lookes like this

id:auto increment
text:text
date:date


the sql looked like this

INSERT INTO table(text, date) VALUES('" & text.text & "', date())

resluting in a syntax error
i tried everything like:

INSERT INTO table(id,text, date) VALUES('','" & text.text & "', date())

always resulting in a syntax error so i deleted the id field in my db and the top sql worked ... can someone tell me how to handle auto-increment with jet???


thx

blacknight
Newbie Poster
5 posts since Apr 2005
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You