B
bill
I have an unbound MSFlexGrid control in a MSAccess 2000 adp.
I populate the grid on form load. The form has a timer, which fires a
procedure named RefreshData, which re-populates the grid every minute.
When a user double-clicks the grid, the table which the grid is based on is
updated, and the row in the grid changes color, and the row can't be clicked
again.
I found that if the grid is double-clicked while it is being automatically
refreshed, the wrong row is updated.
What is a good way of handling this? Should I use booleans as flags,
preventing one action while another is ongoing?
Thanks for any tips.
-Bill
I populate the grid on form load. The form has a timer, which fires a
procedure named RefreshData, which re-populates the grid every minute.
When a user double-clicks the grid, the table which the grid is based on is
updated, and the row in the grid changes color, and the row can't be clicked
again.
I found that if the grid is double-clicked while it is being automatically
refreshed, the wrong row is updated.
What is a good way of handling this? Should I use booleans as flags,
preventing one action while another is ongoing?
Thanks for any tips.
-Bill