Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data Grid problem
Message
De
17/02/2000 12:17:54
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00333455
Message ID:
00333474
Vues:
10
>I have a datagrid populated by a parameter query. The initial population works fine. the user double clicks on a selected record in the grid, and according to code and theory, the primary keys from the view are stored in the parent record, and the view is requeried and refreshed. The record that was selected should not be in the refreshed query, but for some reason, it is. If the user pushes save and then presses the button that originaly populates the datagrid, the record quite correctly goes away. The exact same code is called in the double_click code! Why is it not doing it's thing?
>More info available on request.

Try resetting the datasource for the grid.

Thisform.lockscreen = .t.
Thisform.yourgrid.recordsource = .null.
your code executes here
Thisform.yourgrid.recordsource = 'v_yourview'
Thisform.lockscreen = .f.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform