Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding to database issue

Status
Not open for further replies.

styx218

Programmer
Apr 23, 2007
15
0
0
IE
Hi guys,

Just joined the board so a big hello to you all. The reason im here is because im having a sql related issue.

Im using a form to gather user details to store in sql database. But when i add records they are being saved as "Null".What am i doing wrong here? Any ideas?
 
Can you post your insert statement?

- Paul
10qkyfp.gif

- If at first you don't succeed, find out if the loser gets anything.
 
what is the T_Sql code you are using for the insert?

Questions about posting. See faq183-874
 
Thanks for quick reply

statement = _connection.prepareStatement("INSERT INTO teams (Name) VALUES (?)");
 
YOu aren;t telling it what the values should be.

Questions about posting. See faq183-874
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top