Soren - 

Your print statement is trying to do some addition because the alias returns
a column value - you need to tell MI that you're working with strings.

Try casting the alias to a string (the Str$() function) - OR - using
ampersands instead of plus signs - OR store the alias value as a string
variable too when you set it up.

Eg

Print "Altering " & Column_alias & " before analyzing."


Paul Crisp
Syntegra

Direct:  0191 461 4522 
Mobile: 0776 414 3762
Fax: (0191) 461 1959

Innovation Place Metro Riverside Park
Delta Bank Road Gateshead Tyne & Wear NE11 9DJ


-----Original Message-----
From: S�ren Breddam [mailto:[EMAIL PROTECTED]]
Sent: 02 May 2002 09:39
To: MapInfo-L (E-mail)
Subject: MI-L How to print a column alias?


Dear list,

I have a table with about 100 char columns that I loop through. I make a
selection and an update and then I modify the columns to smallint.
This works fine.
However, I want to let the user know, that the column has changed and that
the program is still altering the table. I would like to do that with :

Print "Altering "+Column_alias+" before analyzing."

This doesn't work. What do I do?


Regards
S�ren Breddam
Teknisk Forvaltning
Stevns Kommune
Tlf. +45 5656 1891


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


********************************************************************

This email may contain information which is privileged or confidential. If you are not 
the intended recipient of this email, please notify the sender immediately and delete 
it without reading, copying, storing, forwarding or disclosing its contents to any 
other person
Thank you

Check us out at http://www.syntegra.com

********************************************************************

Reply via email to