This is how I do it 

Global SZVariablename() as string 

Dim i as integer
        
        Fetch First From Table
                  Do While Not EOT(Table) 
              redim SZVariablename(i)
              SZVariablename(i) = Tabname.columnname
                 i = i+1
                 Fetch Next From table
        Loop 

Dialog 
        Title "Column in array"
        Control listbox title from variable SZvariable

But make sure, that if using Win95 then max size is 7000 and for 
winNT it is somewhere 32000.

Hope this helps

From:                   Teguh Yulianto <[EMAIL PROTECTED]>
To:                     "'mapinfo list'" <[EMAIL PROTECTED]>
Subject:                MI How to put one column data into array??
Date sent:              Thu, 21 Oct 1999 16:49:00 +0300

hi lister,
I am a kinda frustrating with this problem. Does anyone know how
to put one column data into array? The format of the data in 
that
column is string and want to keep it as string also. Any info
will very appreciated.

Regards,


TEGUH YULIANTO
RF Design and Optimization Engineer
Lucent Technologies International O
JEDDAH, KSA
LAND LINE : +96612395505
MOBILE  : +96654402391
-----------------------------------------------------------------

----- To unsubscribe from this list, send e-mail to
[EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message
body, or contact [EMAIL PROTECTED]
===================================================
Aditya 
Executive (Systems) 
Information Systems Department
GCMMF, Anand
E-mail me at :[EMAIL PROTECTED]
Web Site: http://www.amul.com
===================================================
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to