G
Guest
Hello all,
I have a form in Continuous Form view where I added two Command buttons
after the last control in the details section, one over the other.
the first one has a "Key" picture on it and when it is clicked, it unlock a
control so I can edit its value, then it's visible property is set to false
and the second button bearing the picture of a "lock" is now visible.
the problem is that when i click on the "Key" button, all the "Key" buttons
in the other records on the same form appear to be hidden and the "Lock"
button is displayed till i actually move the focus to another record, then
the OnCurrent event puts everything back to order.
My Question is, is there a way to limit this change of appearance to the
current record only so that only the records with unlocked control display a
"Lock" button and the records with locked control display a "Key" Button
Thanks
Omar
I have a form in Continuous Form view where I added two Command buttons
after the last control in the details section, one over the other.
the first one has a "Key" picture on it and when it is clicked, it unlock a
control so I can edit its value, then it's visible property is set to false
and the second button bearing the picture of a "lock" is now visible.
the problem is that when i click on the "Key" button, all the "Key" buttons
in the other records on the same form appear to be hidden and the "Lock"
button is displayed till i actually move the focus to another record, then
the OnCurrent event puts everything back to order.
My Question is, is there a way to limit this change of appearance to the
current record only so that only the records with unlocked control display a
"Lock" button and the records with locked control display a "Key" Button
Thanks
Omar