for i=1 to this.columncount this.columns[i].addproperty("colindex",i) endforThen for any column object you send as a parameter, this column object's index can be retrieved from its .colindex property. I've tried this and I'm seeing the proper values in the debugger.