No, I have not been able to consistently reproduce the problem.
That is why I said that the grids disappear
occasionally. They can appear 6 or eight times in a row (proceeding through the same sequence of steps each time), then fail, then not .... at the moment, I can't get it to fail at all.
By the way ... if the RecordSource changes, shouldn't I at least see the records that are in it, even if the data in the columns appears out of sync?
I just tested replacing the RecordSource with itself -- the records still show, albeit in the wrong columns.
But that is not what I am seeing -- I have a recordsource, it has records, but nothing displays....
>>I don't know whether it is or is not a grid reconstruction issue -- but I doubt it.
>>
>>As I said, the base class for these grids is a class that I use all over the place. That class handles all the stuff of constructing the grid's properties safely. I have gone over that many many times ...
>>
>>The columns and a number of other properties for the grid are all added at run time (in this case, on the page Activate). This is handled by a single method in the grid, which is called in the Activate event code.
>>
>>As I said, I can verify that the grid's recordsource is correct, and has records, etc. Furthermore, all the grids columns are correct. (They are
not automatic -- I never do that. The number of columns, column headers, etc, are all dynamic.)
>>
>>Last of all, this works correctly MOST of the time.
>>
>Have you been able to consistently reproduce the problem? Try setting a breakpoint when grid's RecordSource changes.
Jim Nelson
Newbury Park, CA