>>Even with SourceType = Alias I just ran into a funny problem. I was setting my column controlsource values in code, and if I used the field name
without the alias the columns were read only (no matter what the ReadOnly property said) and could not be updated. As soon as I added the alias
MyCursor.MyField they columns could be edited.
>
>And just when I thought it was safe :) Yes, that I know about, it's an "ambiguous reference," or something like that...I rarely set columnsource for grids, just "dumping" cursors and views into them (in which case the default controlsource is the full alias.field reference if you check it), but when I do need to set the column source (Trims, non-textboxes, etc.), a full alias.field reference is always a good idea & can avoid problems...
NOW you tell me :-) Usually I 'dump' cursors also, but this is a nasty situation where the cursor has to be re-built constantly from scratch. Thus, a call to re-make the grid.