I'm trying to do the following:
------
dim xTable as string
dim xData as integer
xTable = 'table_name'
fetch first from xTable
xData = xTable.data_column
------
I'm using xTable as a string because the actual table name is specifed by the user and
is not known at compile time.
The error i get from mapbasic compiler is soooo helpful -> Unrecognized command: ..
I'm guess MI doesn't like the fact that i'm trying [string variable].[column name]
instead of [table].[column name]
So how do i get around this assuming that i dont know the table name at compile time?
TIA
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]