Cavan Phelan

Greenhorn
+ Follow
since Feb 16, 2021
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Cavan Phelan

I apologise for perhaps not making it clear enough. I'm making a Java Gui and the tables I'm looking to make are indeed Swing tables. So I have 3 tables, but I want to show my Invoices and Products table. When you click on an entry in the invoices table, it would also display the products linked to the Invoice table too. So say I click Invoice 3 which has Product id 4, I want the Product table to change to show the product with the id 4 only. I was thinking I needed a inner join in order to do so. At the moment I have a table with my Invoiceid and whatnot but nothing else as of yet. I'm assuming I have to make a separate table for my products but getting them to change in accordance to what's selected is what I don't understand.
3 years ago
I have an inner join created between my tables and was just wondering how I manage to split them into 2 tables? I want to have it so when I click Invoice on my first table, it will then display the contents of my Product table. I've messed a round with a lot of code and not managed to get it.

3 years ago