The Artima Developer Community
Sponsored Link

Java Answers Forum
SQL Statements

1 reply on 1 page. Most recent reply: Jul 26, 2003 11:12 AM by ricky

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Mike

Posts: 4
Nickname: mhirst
Registered: Jul, 2003

SQL Statements Posted: Jul 25, 2003 10:33 AM
Reply to this message Reply
Advertisement
I have a jtext field on screen assigned to jTextField1 and want to insert using SQL using this variable. How do I do this? And I am not using sqlj, I want to use jdbc.


ricky

Posts: 8
Nickname: ricky30000
Registered: Jul, 2003

Re: SQL Statements Posted: Jul 26, 2003 11:12 AM
Reply to this message Reply
Do you mean you want to insert the field into the SQL statement. If so that should be fine. Use the getText function and then store it in a String variable and then insert it into the SQL statement at the right point. If this is not what you want to do then tell us

Flat View: This topic has 1 reply on 1 page
Topic: Experiment Previous Topic   Next Topic Topic: Help with an Assignment, Strings Info

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use