General information
Category:
The Mere Mortals Framework
Title:
Local View in grid not refreshing properly.
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
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