>Yuri --
>
>loGrig.objects is the list of all objects in a container, which, for a grid, is the same as loGrid.columns.
>
>Note that the statement which follows,
lnColIndex = loColumn.controlsource
, would fail if loColumn were not a column object, as only column objects have that property.
>
Textboxes also have this property, not to mention other controls.
Also why it's numeric? It should be character. Something is definitely wrong here.
If it's not broken, fix it until it is.
My Blog