spikepl
Eledittingent Beliped
- Local time
- Today, 14:57
- Joined
- Nov 3, 2010
- Messages
- 6,142
I have an A2010 form with a MoveUp and MoveDown button. A click will move the last record I clicked on, up or down.
When on new record, both buttons should not be enabled.
If I select a record by clicking in it and I click MoveDown until MoveDown is disabled, I wind up in the last record of data just fine.
Now, MoveUp will be disabled if I click in the new row, first column. But not if i click in any other column of first row. If I hide the first column the same behaviour is now exhibited by the new first column.
I want it disabled, no matter which column of new row is clicked.
When I click in the first column, On Current is fired, and that code disables my button as it should. But if I click in another column, On Current is not fired. Why?
Addition:
- If I click in any but the first column of new row, thereafter clicking in first column does not fire on current.
- If I click in some other row, then I can click in any column of the new row and the current event fires
When on new record, both buttons should not be enabled.
If I select a record by clicking in it and I click MoveDown until MoveDown is disabled, I wind up in the last record of data just fine.
Now, MoveUp will be disabled if I click in the new row, first column. But not if i click in any other column of first row. If I hide the first column the same behaviour is now exhibited by the new first column.
I want it disabled, no matter which column of new row is clicked.
When I click in the first column, On Current is fired, and that code disables my button as it should. But if I click in another column, On Current is not fired. Why?
Addition:
- If I click in any but the first column of new row, thereafter clicking in first column does not fire on current.
- If I click in some other row, then I can click in any column of the new row and the current event fires
Attachments
Last edited: