This is the wrong list i'm pretty sure but there are a couple of ways to get the number but there isnt a direct method that returns it.
If the result set is scrollable you can iterate through it counting the number of iterations, then set it back to the start when you want to process the records. The other option (one I prefer) is to load the records into an ArrayList, you can then determine the size quite easily. If anyone else has any neater solutions i'd like to hear them too as I've had to do this in a few places. Ta Matt -----Original Message----- From: soh_mah [mailto:[EMAIL PROTECTED] Sent: 20 May 2004 15:20 To: [EMAIL PROTECTED] Subject: Is there any way to check # of Records in RecordSet Hi Is there any way to check number of Records in RecordSet? ===== Regards Sohail Mahmood (416) 636-2553 __________________________________ Do you Yahoo!? Yahoo! Domains - Claim yours for only $14.70/year http://smallbusiness.promotions.yahoo.com/offer --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Any opinions expressed in this E-mail may be those of the individual and not necessarily the company. This E-mail and any files transmitted with it are confidential and solely for the use of the intended recipient. If you are not the intended recipient or the person responsible for delivering to the intended recipient, be advised that you have received this E-mail in error and that any use or copying is strictly prohibited. If you have received this E-mail in error please notify the beCogent postmaster at [EMAIL PROTECTED] Unless expressly stated, opinions in this email are those of the individual sender and not beCogent Ltd. You must take full responsibility for virus checking this email and any attachments. Please note that the content of this email or any of its attachments may contain data that falls within the scope of the Data Protection Acts and that you must ensure that any handling or processing of such data by you is fully compliant with the terms and provisions of the Data Protection Act 1984 and 1998.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
