Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can't get the deleted record to go away in the grid.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00002696
Message ID:
00002795
Vues:
29
>>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.

The recordsource trick didn't do it. Thanks for the response though. It is unexplainable why the grid is holding on to that
record, I was hoping to resolve this without writing alot of code. I did set the recordsource to "" , then back to alias, reinitialize, refresh, everything.


>
>* 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
** ** ** ** ** ** ** ** ** ** **
Gregory Cummines
Visual FoxPro 3.0/5.0
C/C++ Applications
** ** ** ** ** ** ** ** ** ** **
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform