Forum Discussion
claudiotereso
Nov 11, 2022Copper Contributor
set event programmatically on office 365
Hi all!
I have a old access mdb that sets onenter programmatically to a procedure on the same form with the simple code:
control.OnEnter="=Control_Enter".
In office 365 doesn't work. (can't find Control_Enter).
What I've tried:
- control.OnEnter="Control_Enter".
- control.OnEnter="Control_Enter()"
- Set the procedure to a Function.
- move the procedure/function from the form to a code module.
- Set the function in the designer instead of code. it appears on the list box to be selected but doesn't find it anyway in runtime.
Any sugestions?
Thanks,
Clรกudio
- claudioteresoCopper Contributorfor now, I'm setting all the controls in the design to "[event procedure]" where I call Control_Enter. A little repetitive ๐ , but it works ๐