Hi Teguh,

I'm not sure if this will help but try this (assuming you have 10 records):
Note: variablename() is the array variable that will contain your records,
tablename is the table in questions with the records, columnname is the name
of the column that you want to put into the array.

---------------
Dim variablename(10) As String
Dim i As Integer

i=1
Fetch First From tablename
variablename(i) = tablename.columnname

Do While Not EOT(tablename)
   i=i+1
   fetch next from tablename
   variablename(i) = tablename.columnname
Loop
------------------

I didn't test this so you may want to try it out and see if the syntax and
logic is correct.

Basically variablename(1) will contain the first record, variablename(2)
will contain the second... etc.

Sincerely, 
Susan

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Teguh Yulianto
Sent: Thursday, October 21, 1999 9:49 AM
To: 'mapinfo list'
Subject: MI How to put one column data into array??


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]
----------------------------------------------------------------------
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