Thanks Sergey
That did not help.
I tried adding this.Selectedid[this.ListIndex] = .t. and that did make the new row selected. But I can't seem to find an event that I can turn the old row selected off. This does work but is seems to be such a kludge.
lnSelectedRow = this.ListIndex
this.selectall(.f.)
this.Selectedid[lnSelectedRow] = .t.
this.parent.requery("tickets")
Seems to work the same in both the when and interactivechange events.
>Try to move code to InterActiveChange event.
>>
>>Thanks for your response Einar.
>>
>>I am using vfp8 and my code to populate the grid is in the when event.