>I'm resetting the RecordSource to "" and then to "MyTable" but the columns resize to what I think is the default size of the field lengths. What gives? I don't want to have to put a bunch of column widths into the grid. Why do they resize? Thanks!
>
>Regards, Renoir
Any time the grid's recordsource changes, if there are no specified column widths, they will resize back to original.
if you're using VFP8, you might (depending on your needs) be able to take advantage of the grid.AutoSize() to resize the grid columns back for you.
an all versions, the quickest way is to store the sizes in an array before removing the recordsource, then restore after rebinding it.
Insanity: Doing the same thing over and over and expecting different results.