>
>THISFORM.Grid1.RecordSource=THISFORM.Grid1.RecordSource
>
>PROBLEM:
>If you do this, the grid's columns, methods, and other settings disappear and need to be re-set. How can we avoid having to do this?
I've ended using a workaround: I keep a copy of the cursor's structure in an (initially empty) cursor. Then I populate it from the selection. Before any selection I blank all the records in this cursor, and when populating it I fill the blank records first, if any, and then insert the rest. This works OK if the structure of the cursor matches the selection (so I can use Scatter to [array]); if it may vary, I'd have to use Scatter Name or Scatter Memvar, which is somewhat slower. And yes, I filter out the blank records.