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 > General QuickTable Support/Help Post New Topic   Post A Reply
Validation routine with beforeInsert printer friendly version
next newest post | next oldest post
Author Messages
traffx
Unregistered
Edit or delete this message Reply w/Quote
Posted Tuesday, March 9, 2004 @ 10:21:42  

Hello,
I'm trying to implement validation routing with beforeInsert that behave like:
if the validation routing fails, the "bad" row remains selected and the active cell is the cell that makes the validation routine fail, so I want to block the user in the "bad" row until he fix the problem or cancel the insert.
When I try to call goTo(row) or selectCell(row,0) or editCellAt(row, 0) from beforeInsert, the cell/row is correctly selected but when I move to another row, the beforeInsert or beforeUpdate method is not called again and to user can leave the "bad" row! If I select the "bad" row with the keyboard or the mouse and I leave this row, the beforeInsert method is called!
Could you help me ?
Best Regards,
Olivier
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 Wednesday, March 10, 2004 @ 14:36:30  

Probably this might be an issue with QuickTable. I will look into this.
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