I have a substantial number of integer fields on a form - say 60 fields.
I have the fields locked and use the keypress event to only allow updating of the fields by using the "+" and "-" keys - all works okay.
So that I don't have 60 subs to maintain that all just call the one function, I would like to be able to call the function directly from the KP event.
Does anyone know if this is possible and, if so, how do I pass the KeyAscii value to the function?
Any thoughts would be most appreciated.
Peter
I have the fields locked and use the keypress event to only allow updating of the fields by using the "+" and "-" keys - all works okay.
So that I don't have 60 subs to maintain that all just call the one function, I would like to be able to call the function directly from the KP event.
Does anyone know if this is possible and, if so, how do I pass the KeyAscii value to the function?
Any thoughts would be most appreciated.
Peter