Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
View/Grid does not update
Message
De
30/08/1999 21:30:04
 
 
À
30/08/1999 08:20:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00259101
Message ID:
00259488
Vues:
15
>I've a grid with datasource=view on a normal form. I can select a row in the grid and delete the record in one of the underlaying table. But the grid is not updated while the table is correct. When I close the form and open the form again everything is ok. I've tried something with the refresh events, but no success.
>
>Where is the mistake?
>
>Thanks in adance
>Wolfgang




=REQUERY("myView") && will reset the RECNO to TOP

So, you need to first carry the RECNO or KeyField and back to that record after REQUERY

CurKey = myView.myKey
=REQUERY("myView")
Locate for myKey=CurKey
The weak wait for chance, The strong bid for chance,
The clever notch up chance, but The merciful give you chance.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform