I got a string. This string is the name of a Constant.
Now I want to convert this string to the value of the constant. Does anyone know how to accomplish this ??
Already tried Eval("string" but it doesn't work.
Grtz,
Well, I'm willing to bet that most of your problem lies in your selection of constant names. You have a constant named Left which is the same as the function Left(), same thing for Right(), center is used as a property for objects and you could have problems there because access doesn't know whether to use the function or the constant.
So first off change your names to something else perhaps cLeft (for constantLeft), cRight, cCenter. Next, how are you declaring your constants? Normally you do this:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.