Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Data Grid problem
Message
From
17/02/2000 12:17:54
 
 
To
17/02/2000 11:53:33
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00333455
Message ID:
00333474
Views:
12
>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
Map
View

Click here to load this message in the networking platform