>I created a readwrite cursor (called kList) before I even instantiated the form. I ran my query and then inserted into kList from my query results. The first time everything is great. Got 45 records and displayed the first 20. Scrollbar was active and scrollbox was available.
>
>I then ran the same query a second time. Got the same 45 records. Zapped kList to clear it out and inserted back into it from query results. The grid displays the first 20 records but scrollbox is missing and scrollbar is disabled. kList never disappeared the whole time. It was specified as the RecordSource for the grid at design time and never changed.
OK, so now we know your grid isn't rebuilding, isn't losing settings, code etc. Now for the scrollbar.
>I'm stumped. Anyone have any ideas as to what is going on?
Every time this happens I remember there must be a trick to this, but can't remember which one works. Refresh the grid, set focus to it, go top - but don't really remember in which order. There are actually several problems here - the cursor may have seven records, grid may have room for nine, but shows only four (if your current record is the last, or maybe in other cass as well) - and the scrollbar isn't proportionate to the visible vs all records ratio. Or the scrollbar looks disabled, or... well, what you said.
I know my team has a similar bug open for quite a while and still haven't found a satisfying solution, so I'm all ears too.