Hi,

dim svalue(0) as string
dim var_c, var_b as integer

for var_b = 1 to Tableinfo(selectedtablename,
TAB_INFO_NROWS)
For var_c = var_b to var_b +
numcols(selectedtablename)
redim svalue(var_c)
svalue(var_c) = selectedtablename.col(var_c)
next
next

each loop adds another value to svalue array until all
columns have been looped through...

this worked for me for getting a SINGLE row of data
into an array...if you have multiple rows, then just
keep adding to the array whilst remembering that the
seperator for the data occurs after the final column
number...also, with the inner loop, if you set it to
1, then you'll just overwrite the data x amount of
times, add a loop control like this

For Var_c = Var_b to Var_b+(number of columns)

hope this helps..if not, just get back in contact with
me.

Ben Crane
Wokingham DC


__________________________________________________
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/

---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to