Hi,
I am trying to shorten the code but i am not sure if it is possible at all, since error is created.
What i am trying to accomplish is to use a string that is repeated in several times while the values of the variables are passed from an other open form like this:
open form is: Forms!frm1
x variable value is assigned from the open form control y
x=Forms!frm1.y
Since there are several controls i need to use i think simplifying the coding like this:
s="Forms!frm1." and use it
x=s & y
It does not work. Am i completely wrong with the idea, or there is only a syntax error?
thanks
I am trying to shorten the code but i am not sure if it is possible at all, since error is created.
What i am trying to accomplish is to use a string that is repeated in several times while the values of the variables are passed from an other open form like this:
open form is: Forms!frm1
x variable value is assigned from the open form control y
x=Forms!frm1.y
Since there are several controls i need to use i think simplifying the coding like this:
s="Forms!frm1." and use it
x=s & y
It does not work. Am i completely wrong with the idea, or there is only a syntax error?
thanks