Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Local View in grid not refreshing properly.
Message
From
28/10/2002 18:29:21
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Local View in grid not refreshing properly.
Miscellaneous
Thread ID:
00716249
Message ID:
00716249
Views:
49
I have a local view defined like this:
SELECT PrimaryKey, ForeignKey, Amount, Foreign.ForeignCode FROM Primary INNER JOIN Foreign ON Primary.ForeignKey = Foreign.ForeignKey
All fields except ForeignCode are updatable.

It is table buffered in use; a grid displays ForeignCode and Amount textboxes, and there is ForeignCode combobox and Amount textbox outside the grid for editing/adding records.
I want to refresh the grid to show changes to the ForeignCode and Amount.

Everything works normally for the Amount textbox oustide the grid. The combobox.click REPLACEs both ForeignKey and ForeignCode in the view. Scrolling through the grid, the combobox shows the new values, but the grid values are still the old values. Refreshing the grid doesn't help, and requerying will discard the changes. Help?
Reply
Map
View

Click here to load this message in the networking platform