Having a bit of a problem.

Wish to extract a name (string) from within a table and use that data to
rename a table column.

Things look like this:

dim col_9_prod as alias
Fetch rec 4 from table_name
col_9_prod = table_name+".col9"       ' this extracts the proper data to
be used as column name
' at this point I have tried several things including an attempt at the
Run Command cmd_string

alter table table_name(rename _col9 .................?

I have been unsuccessful with anything other than: Alter Table
Table_name(rename col9 "new name") 'which is unsatisfactory.

Hope I'm at least a little clear with this.

Thanks a bunch

Roy

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