Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Jtable  RSS feed

 
Edrey Ching
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to prevent adding same entry to table2 using "Add to Table2" button ?
table.png
[Thumbnail for table.png]
 
Tony Docherty
Bartender
Posts: 3197
78
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry but you will have to be a bit more specific as to what the problem is and also show the relevant code.

Please state what you want to happen and what is actually happening.
 
Les Morgan
Rancher
Posts: 752
17
C++ Java MySQL Database Netbeans IDE Oracle Tomcat Server
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to check for duplicates from Table 1 before you add the information to Table 2. Yes, that does mean a coded comparison of some type.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!