Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid refresh
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01337894
Message ID:
01337899
Vues:
18
This message has been marked as the solution to the initial question of the thread.
>I have a grid in form 1
>
>Then I call form 2 and add a record
>
>When I get back to form 1 have to click the grid to refresh data, and the new record appear
>
>Both forms have private data session
>
>I have the code below on getfocus method of form 1, but it does not solve problem
>
>********************************
> With Thisform.grid1
> Select (.RecordSource)
> Go Bottom
> .Refresh
> .SetFocus()
> .DoScroll(0)
>Endwith
>
>thisform.Refresh
>*******************************

Is second form Modal?
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform