craftleft.gif (3002 bytes)QuickTable
Home | API | Tutorial | Download | Support | Contact topblack.gif (108 bytes)


QuickTable User Cp  |  Register  |  Members  |  Search  |  Help
    |- QuickTable Discussion Forums > JDBC/Database Issues Post New Topic   Post A Reply
Delete row in quicktable printer friendly version
next newest post | next oldest post
Author Messages
mexican
Private First Class

Gender: Male
Location: Mexico city
Registered: Sep 2008
Status: Offline
Posts: 12

Click here to see the profile for mexican Send email to mexican Send private message to mexican Find more posts by mexican Edit or delete this message Reply w/Quote
Posted Sunday, September 28, 2008 @ 13:54:51  

Hi Again, yes I had read the API before posting this, but I havenīt found the solution. (please donīt shout me so loud)
I need your help once again Admin:
I insert a new row in a table, I click the Add row to execute the insert, an error occurs in the row insert, I capture it through DBTableErrorListener, display a custom message and a new blank row appears in the table, but the row who has the error remains in the table (I know it wasnīt inserted in the db), but the user can think it does, and if I correct it and then click the ControlPanel "Add Row" again it doesnīt insert in db even if it has now all the data corrected, Therefore I want that after the message error is displayed, remove this row from the table to avoid confusion in the user, but I havenīt had any success, please I need your guideance once again!
Admin
Board Owner

Gender: Unspecified
Location:
Registered: Jul 2003
Status: Offline
Posts: 9

Click here to see the profile for Admin Send email to Admin Send private message to Admin Find more posts by Admin Edit or delete this message Reply w/Quote
Posted Monday, September 29, 2008 @ 09:26:09  

Can you set the following property and see whether it helps?

dbTable.postponeDBInsert=true;

Post New Topic   Post A Reply Jump to:
Contact Us | QuickTable - A Java DBGrid | Privacy Policy All times are GMT -5 Hours.
Welcome to QuickTable Forums, Guest!  
Login
Username :
Password :
In order to fully utilize the abilities of this board, you are required to register as a member. Registration is free, and allows you to do lots of things including turning on or off certain features of this board. Register now!
Powered by CuteCast v2.0 BETA 2
Copyright © 2001-2003 ArtsCore Studios