• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jdbc and gui

 
kelly devon
Ranch Hand
Posts: 78
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
im getting myself confused. i have a form gui and want to send info
on the form to the db using acess db with sql as the communication link
do i use the name of field in the db to send the info or the name of the
strings in my programsay i have something like the one below
name(string in my program used to retrieve the info on gui) = nametext.getText();
INSERT INTO borrow(db acess name)VALUES('yourname'(ie d db field name));

HELP!!
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33723
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kel,
You have it right. Just putting into my own words to make sure we are thinking the same thing:

INSERT INTO table(db_field_name)VALUES('value from form');
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic