In MB its easy to set a variable to equal a particular column from a table.
ie
string = table.col_name

I have an application where my table names and column names are stored as
variables, and I want to pull a string from a particular column.
MB does not like:

dim sTAB, sCOL as string
sTAB = tab
sCOL = "COL1"
string = sTAB.sCOL

I have done this before, but cant recall exactly what I did to achieve
it.Whats the best way of going about being able to pass my variable names to
MB, and it interpreting them as table/column names.
Cheers
Tony

----------------------------------------------
Tony Shepherd
IT/GIS Manager
Gore District Council
Gore, New Zealand
Gore, the brown trout capital
www.goredc.govt.nz
www.mataura.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