AfterRowColChange Event fired by Up or Down arrow key occurs AFTER the row is changed in the cursor so you are testing/displaying data from the new row. Incorrect data are stored in the cursor and they are validated and changed when you return back to the cell. The Enter key fires the AfterRowColChange also but the record is not changed so incorrect data are replaced immediately.
To validate data in a cell you have to place your code e.g. into the Valid method of the cell (text box).
Main Topics
Browse All Topics





by: leemarcPosted on 2009-05-22 at 12:35:43ID: 24454428
I should also mention - I have tried both the up and down arrows wit the sames effect