craigachan
Registered User.
- Local time
- Yesterday, 20:44
- Joined
- Nov 9, 2007
- Messages
- 285
I have created a textZoom form to be used like zoombox. I want to be able to set up a Public Sub textZoom(anyform as form, anyfield as field) so that I can use it with any form and any field, allow it to be edited or not, and then pass any changes back to the original field.
I can't seem to get the syntax to pass the form name/field. I've tried using "forms!myForm!myfield", but the syntax seem to mismatch. It seems that there should be a way to grab the name and pass it to the public function. I can't seem to find out the keywords to search on this subject. I've tried activescreen.name, formname, etc. Can anyone help me with this code or direct me? Thank you.
I can't seem to get the syntax to pass the form name/field. I've tried using "forms!myForm!myfield", but the syntax seem to mismatch. It seems that there should be a way to grab the name and pass it to the public function. I can't seem to find out the keywords to search on this subject. I've tried activescreen.name, formname, etc. Can anyone help me with this code or direct me? Thank you.