Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deleting Record in a View
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00139181
Message ID:
00139347
Views:
28
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
Previous
Reply
Map
View

Click here to load this message in the networking platform