>Nadya,
>
>Change your code to this and you won't care about teh column numbers;
>
>
>FOR EACH oCool IN THIS.Columns
> oCol.ReadOnly = llAllowEditing
>ENDFOR
>
Jim,
That's a great idea, however, it's not applicable in my case. I don't want to set all columns ReadOnly, I'd like to set only couple of them (which held building properties). That's why I had this problem. Anyway, I already added one additional line of code for this new column. It works, and that's really matter...
If it's not broken, fix it until it is.
My Blog