944,114 Members | Top Members by Rank

Ad:
  • ASP Discussion Thread
  • Unsolved
  • Views: 1902
  • ASP RSS
Jul 20th, 2005
0

Asp + Jet

Expand Post »
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
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
blacknight is offline Offline
5 posts
since Apr 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP Forum Timeline: login tutorials ?
Next Thread in ASP Forum Timeline: Unable to insert form data into a database





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC