>The cursor is created in the INIT prior to the code block.
>
>When I do what you suggested, there are no records in the grid.
>
The question is - can you create your empty work cursor in the Load? Get the temp cursor in the Init and insert it into the work cursor (grid alias).
That's the "safe select" technique for the grid that may help overcome the problems.
>>Do you have your cursor available in form's Load? Can you specify the alias in the Property sheet for the grid (e.g. comment out first 2 lines in your code) and also just in case comment out the last line?
>>
>>See if this helps. Also check if you have any extra code in Form's Refresh or have timer running.
>>
If it's not broken, fix it until it is.
My Blog