• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

INSERT

 
ben riches
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic