aspose file tools*
The moose likes Beginning Java and the fly likes Trying to grab the last record. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic
Author

Trying to grab the last record.

Justin Char
Ranch Hand

Joined: Mar 05, 2007
Posts: 76
I can grab all sql and put them in desc order.
Then I try to run the code through until it gets to the last Admin key in the series and hold that record and write to transaction file.
Except it gives me all the records not just the 07D one. It gives me all records in the series not just the last one. I need some serious help.
marc weber
Sheriff

Joined: Aug 31, 2004
Posts: 11343

Please don't post duplicates. Your original post has been moved to the JDBC forum. Please continue there.


"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
 
Consider Paul's rocket mass heater.
 
subject: Trying to grab the last record.