Tore,
Absolutely none sir. This happened to me once before. Couldn't really figure why. The CA and the TempCursor cursors get populated with data though. After myGrid Refresh, it just shows a blank grid (but with the columns intact). I have to press Up or Down key before the records show up!
The form the grid is in accepts the CA as an object parameter. There is an oCursor property where I stored the CA object, which also in the Init() calls its CursorFill(). I also pass oCursor property into an oCursor property of the concerned grid which in turn creates the TempCursor for its RecordSource.
Dennis
>>Tore,
>>
>>
Update!
>>
>>Add Go Top before mygrid.refresh().>>
>>Sorry, there really was a GO TOP like so:
>>
>>
>>myCA.CursorFill()
>>SELECT Tempcursor
>>ZAP
>>APPEND FROM DBF( myCA.Alias )
>>GO TOP
>>myGrid.Refresh()
>>myGrid.SetFocus()
>>
>>
>>Dennis
>
>Are you sure that you don't have any code in refresh() or setfocus()? I use this solution all the time.