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:
00139189
Views:
21
What I normally have to do is SETFOCUS to the Grid and then Setfocus off of
it to wherever I was. So Normally I have to do a

Pseudo Sample
Grid1.Requery()
Grid1.REFRESH()
Grid1.Setfocus()
This.Setfocus()

I may have more steps then necessary, its a habit now though. Try em out and
remove the extra steps until it works for you...


>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