The obvious way is to count them (SQL query), and dimension the required number of arrays of the maximum / optimum size. It doesn't require much more management of your code.
Arrays are hungry things. ILT -----Original Message----- From: Driver, Greg 9434 [mailto:[EMAIL PROTECTED] Sent: Thursday, 22 April 2004 5:06 PM To: MapInfo-L (E-mail) Subject: MI-L ReDim size limit Listers, Is there anyway around the ReDim size limit of 32767? I'm doing a SQL select to find all the unique values for a given column and then populating an array with all these values, which is then used in a dialog popupmenu control. Problem is that some of our tables could well contain more than 32767 unique values so how do I get around this? Any suggestions gratefully received. Regards Greg Driver Internet communications are not secure and therefore Surrey Police does not accept legal responsibility for the contents of this message. This email and any attachments may be confidential. They may contain privileged information and are intended for the named addressee (s) only. They must not be distributed without our consent. If you are not the intended recipient, please notify us immediately and delete the message and any attachments from your computer, do not disclose, distribute, or retain this email or any part of it. Unless expressly stated, opinions in this email are those of the individual sender, and not of Surrey Police. We believe but do not warrant that this e-mail and any attachments are virus free. You must therefore take full responsibility for virus checking. Surrey Police reserves the right to monitor all email communications through their networks. --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 11485
