Asp + Jet

Reply

Join Date: Apr 2005
Posts: 5
Reputation: blacknight is an unknown quantity at this point 
Solved Threads: 0
blacknight blacknight is offline Offline
Newbie Poster

Asp + Jet

 
0
  #1
Jul 20th, 2005
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
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC