Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement