D
David
Hi,
In Oracle Forms I can indirectly reference a textbox eg.
IF :empname = 'smith' -- direct reference
IF NAME_IN('empname') = 'smith' -- indirect reference (assigns the
value 'smith' into the textbox named :empname
Or Copy('smith','empname') -- indirect reference (copies the value
'smith' into the textbox named :empname
By referencing items indirectly I can write more generic, reusable
code.
Now I would like to do the same with my Access application. How can
this be done or can it be done at all?
Eg. I would like to create a common Subprocedure in a Module where I
can pass in the name of any textboxes and then apply methods on the
textboxes within the Subprocedure.
Many thanks!
In Oracle Forms I can indirectly reference a textbox eg.
IF :empname = 'smith' -- direct reference
IF NAME_IN('empname') = 'smith' -- indirect reference (assigns the
value 'smith' into the textbox named :empname
Or Copy('smith','empname') -- indirect reference (copies the value
'smith' into the textbox named :empname
By referencing items indirectly I can write more generic, reusable
code.
Now I would like to do the same with my Access application. How can
this be done or can it be done at all?
Eg. I would like to create a common Subprocedure in a Module where I
can pass in the name of any textboxes and then apply methods on the
textboxes within the Subprocedure.
Many thanks!