thanks guys for ur reply but u misunderstood my problem. the problem udescribed and told the solution of was also faced by me i was resolved a week before in the way David told with the same resoning that he thinks. and in that case u get an SQLException : Invalid Descriptor Index.
But my problem is SQLException :Function Sequence Error. Now when the the ADD button is clicked for the first time every thing goes in the it shuold but on the next time it gives error on the
//line 2 it prints "After absolute row"+current row no. but not the second print statement and gives the error i told u.
heres the code.
Brief description of the objects and variables.
//**********
ADD is the button on which the code is called
guicreator is my class which has a static connection object for whole of the application.
client_rs is a ResultSet which is currently ie when the control is in the if construct hold the data from the client table of my database.
client is the JComboBox //line 1
[ Edited by Dave to format code ]
[ March 14, 2002: Message edited by: David O'Meara ]