aspose file tools*
The moose likes JDBC and the fly likes INSERT Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "INSERT" Watch "INSERT" New topic
Author

INSERT

ben riches
Ranch Hand

Joined: Nov 08, 2002
Posts: 126
hello could someone give me some help please
i have a GUI with 20 textfields, which i want to be able to insert to the SQL database.
the first 10 textfields are where the user will name his tables to insert to.
the next 10 textfields is where the user names the columns to insert to.
But what i want is if the user types in the same table name(Which could anywhere between 1 and 10), i want to get the column names from the text fields where the table names are the same, and insert them in to the database by using one insert statement.
but also insert the ones that have not had there table names repeted
thanks for your time
loftty
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: INSERT