aspose file tools*
The moose likes JDBC and the fly likes jdbc and gui Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "jdbc and gui" Watch "jdbc and gui" New topic
Author

jdbc and gui

kelly devon
Ranch Hand

Joined: Apr 15, 2004
Posts: 75
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!!


kel
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30512
    
150

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');


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jdbc and gui