Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't get the deleted record to go away in the grid.
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00002696
Message ID:
00002766
Views:
34
>I'm not familiar with these functions, where do
>they get called?

Just after you actually delete the record in the table underlying the grid, I guess it is a delete button click event.

* your code
select (table)
delete
* end of your code
Thisform.refresh()

>I'm not using views at this time, they are tables.

I've never done the following, but I think it will work:
(assuming that you connected the table in the recordsource property as an alias to the grid)

Thisform.(grid).recourdsource= (your alias)

This will refresh the data connected to your grid. Put this just before the Thisform.refresh() statement.

Hope it helps.

Marc

If things have the tendency to go your way, do not worry. It won't last. Jules Renard.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform