Hi Listers
I'm trying to design a loop that fills an array with the values of the
columns of the selected row in a table. I have tried this:
Dim NumCols,k as integer
Dim ColValue(1), EvalString as String
NumCols=TableInfo(MyTable, TAB_INFO_NCOLS)
Redim ColValue(NumCols)
for k=1 to Numcols
EvalString="Colvalue("+k+")=MyTable.COL"+k
Run Command EvalString
Next
I doesn't work and I can't figure the solution out.
Please help
Thanks
Thomas Brix Lyng
Frederikshavn Munincipal Administration
Denmark
---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]