I've been tracking a bug in an application where
data is not being saved from a grid properly. I have found the following problem: When you issue GetFldState(-1) from a grid, in the down-arrow keypress for example,
unless you have moved your cursor off the column you modified and onto another column, GetFldState will not see your changes.So, say you have a grid with two columns. The first column is a C(1) field and the second is a C(10) field. Now, if you are on the first column of the grid and change the field (since it is a one character field, you will now be on the second column) GetFldState(-) will return "21", which is correct. If you are on the second column, however, and enter a few characters (it doesn't matter, as long as it is less than the 10 char size of the field) GetFldState(-1) will return "11" which is
incorrect.
Does anyone have suggestions on a fix for this rather annoying bug?