aspose file tools*
The moose likes JDBC and the fly likes Can you update two independent tables with one fireTableChanged from DB Query Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Can you update two independent tables with one fireTableChanged from DB Query" Watch "Can you update two independent tables with one fireTableChanged from DB Query" New topic
Author

Can you update two independent tables with one fireTableChanged from DB Query

john kalaigian
Greenhorn

Joined: Nov 20, 2001
Posts: 15
I have a table that gets results off a DB query and is populated - Following the table example found in under the JDK Demo. Now what i want to do is add a second table to my container and have new results show up on that table based on a row selection from the original table. So say table 1 generated results of students in a school, I would like to run another query and have it update table 2 which contains information about the student that is selected in table 1. How do i do this using a common table model and fireTableChanged?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can you update two independent tables with one fireTableChanged from DB Query