Hi Paul,
Just to add to everybody's response, your code would have worked if you were not using buffering and assuming that you have SET DELETE ON. A GO RECNO() as Ed suggested, is the standard way. The Tastrade samples uses it though its not documented in the help or the sample.< g >
>Hello,
>
>I am working with a parameterized view for the first time..I'm realizing I should have used them sooner! Anyway I have a grid that is based on a view. I have a button where I can delete a record in the view. However the grid doesn't show that the record is deleted(by making it disappear) until I click on the grid. I have tried ...grdxyz.refresh(), but this didn't work...I also tried to requery the view and of course realized then the deleted record was brought back.
>
>It must be something simple..I'm sorry I can't determine what it is.
>
>Thanks,
>
>Paul