Let me phrase the question differently.
I have a grid. The RecordSource has 16 records and is unfiltered. The record pointer is on the first record. There are a number of columns. The controlsources are all correct, and refer to fields in the grid.
But no records show. When this happens, I am not able to do anything to make any records show either (and would welcome suggestions)
And this happens sporadically and inconsistently.
Guesses?
>>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