Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to refresh a Grid?
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
How to refresh a Grid?
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows 2000 SP4
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01125103
Message ID:
01125103
Vues:
65
How do I refresh a grid after adding or deleting a record. This sound easy but nothing seems to work. I have a form with a page frame and 2 pages. Each page has a grid or two. Beside each grid is a “new” and “del” command button. Click the “new” button (do form xxx) and up pops a small form to collect the data entry, click the “save” and the record is INSERTed into the grids table. This all works fine. Now after adding a new record I need the grid to be repopulated / refreshed / repainted / what ever, to show the new record. Nothing works to do the refresh, other than clicking into the grid where magically the new entry appears.

How can I refresh the grid programmatically.

Thisform.refresh

Thisform.pageframe1.refresh.

Thisform.pageframe1.page1.refresh

Thisform.pageframe1.page1.grdEmil.refresh

Thisform.pageframe1.page1.grdEmail.text1.refresh.

Go top

NO OF THIS WORKS.

Help?

Dallas
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform