Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Child Grid show none records after adding a new record
Message
De
27/10/1997 12:52:30
 
 
À
27/10/1997 12:36:26
Jim Si
Alberta Research Council
Calgary, Alberta, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00056816
Message ID:
00056834
Vues:
31
>>after the data is updated, requery the grid's datasource (if it is a view) and explicitly reset that recordsource:
>>
>>requery('myview')
>>thisform.mygrid1.recordsource = 'myview')
>>thisform.refresh
>
>Thank you for replying.
>
>I did not use a view. The REQUERY function does not work for the native database tables. What else I can do?
>
>Jim S

did you explicitly reset the datasource?

(thisform.mygrid1.recordsource = 'mytable')

often (especially when the grid resides on a pageframe and the page becomes temporarily deactivated), the grid forgets its datasource, and must reminded.
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform