File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Trying to grab the last record.
 
Similar Threads
Trying to grab the last record.
cannot find javax/crypto/spec/SecretKeySpec class inTomcat 6
Problems regarding MS JDBC Driver and JTDS-JDBC Connectivity for MS SQL Server 2000
SQL Server 2000 Database Connection using JDBC
using more than one sql statements in a preparedstatement