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
InsertSql not set for dbtable printer friendly version
next newest post | next oldest post
Author Messages
shivanand_k{@}hotmail.com
Unregistered
Edit or delete this message Reply w/Quote
Posted Wednesday, December 31, 1969 @ 23:59:59  

I am using the dbtable beans for my study purpose. Currently I
am using Access 2000 as database. The dbtable is working fine. But I
have problem during adding new record using insert(Vector InsertVector)
function. After using this function, the record is shown on the screen
in the table, but when i move to another record, then newly added record
is not added to actaul table. It gives an message as "InsertSql not set
for dbtable". Can you help me for this problem
admin{@}quicktable.org
Unregistered
Edit or delete this message Reply w/Quote
Posted Wednesday, December 31, 1969 @ 23:59:59  

By default dbtable displays the results of the query. Although I can
programatically create the insert sql to insert the newly added record
into database, it is error prone. So the insert sql needed for the
dbtable should be set by the programmer using the method addInsertSql()
If you didn't set the insertsql and if you try to insert you will get
this message. See the following url for a sample about how to set the
insert/update/delete sqls

http://quicktable.org/tutorial/addModifyDelete.htm

and look at the api help for addInsertSql() at

http://quicktable.org/doc/quick/dbtable/DBTable.html

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