General information
Category:
Forms & Form designer
>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.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only