>The FOR EACH loop provides 'read-only' accesss.
>In case of arrays, it's the same as
>
>*FOR EACH scode IN thisform.aStatuscodes
>FOR i=1 TO ALEN(thisform.aStatuscodes)
> scode = thisform.aStatuscodes[i]
>...
>
Not for objects.
You could change their properties in FOR EACH loop.
FOR EACH oColumn IN thisform.Grid1.Columns
oColumn.ReadOnly = (oColumn.ColumnOrder % 2 == 0)
NEXT
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.