I am not sure what am I doing wrong. In a form, I used to have a command button control with VBA function in it. And one of the procedure is to read the value in a textbox in that same form. It works fine but when I tried to put an image control and put a procedure in its onclick event to read the value of the same textbox, it returns NULL. Am I missing a difference in terms of using the onclick event between a command button control and image control? I'm attaching the file that mimics the issue that I'm having. There's a description there on how to produce the problem.
Thanks,
Darren