Home

Forums

Web development

 

 

 

 
     
 
dna88 Web development and Technology Forum
 
Profile   Register   Memberlist   Usergroups   FAQ   Search  Log in
Previous button isn't working for java application

 
Post new topic   Reply to topic    dna88 Forum Index -> Programming in Java, C, C#, VB, .NET Discussion Forum
Author Message
Fahad
Beginner User
Beginner User


Joined: 16 Mar 2004
Posts: 16

Post Post subject: Previous button isn't working for java application Reply with quote

Hi everyone,

I thought I should write this problem in a new thread to emphasize the problem.

As I have mentioned that I am working java with database support. And it's a common operation in java to read data from database and view those data with first, last, next, previous etc buttons. I am not being able to go backward i.e. previous button isn't working. Can anyone please explain the problem and possible solution of it.

Thanks in advance.
Fahad
Tue May 18, 04 2:44 pm
Back to top
Fahad View user's profile Send private message Yahoo Messenger
Mastermind
Expert User
Expert User


Joined: 23 Apr 2004
Posts: 181
Location: Birmingham,UK

Post Post subject: Reply with quote

It seems to be an obvious one. Check the syntax (command) associated with the back button. Can't say anything more from your description. If you post your codes, then I'll look at it.
_________________
Keep your own dignity, both online and offline throughout your life !!!
Thu May 20, 04 4:38 am
Back to top
Mastermind View user's profile Send private message
Belal
User
User


Joined: 08 Mar 2004
Posts: 84
Location: Dhaka, Bangladesh

Post Post subject: Reply with quote

fahad, ur prob is common if u define the connection statement like:
stmt=con.createStatement();

instead of it u should define like:
stmt=con.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY);
i think, it will help u solve ur problem. in fact, resultset goes only one way......first to last. if u like to move both way u have to define ur result set TYPE_SCROLL_INSENSITIVE.

thanks for ur post.
_________________
we've lot of things to think abt curr probs
so, i don't have time to think abt religion or wonder of sceice .......... how ppl can waste their time like this?
Thu May 20, 04 10:28 am
Back to top
Belal View user's profile Send private message Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    dna88 Forum Index -> Programming in Java, C, C#, VB, .NET Discussion Forum All times are GMT - 7 Hours
Page 1 of 1

 

Partners and Resources

Bangladesh hosting company

Bangladesh web design

Driven by phpBB © phpBB Group