SteveCarrier
Programmer
I have a table with two columns, one that holds a variable name and the other that holds a reference to it's related field. For example the first record might be:
varName = strCategory
varValue = Form_frmTest.pgCategory
and the next:
varName = strTitle
varValue = Form_frmTest.pgTitle
I have a function which uses the varName to check which field to access. For example, if strTitle is found my function GetVariable will return:
GetVariable = varValue
This works great other than the fact that it returns:
GetVariable = "Form_frmTest.pgTitle" <----- with the quotation marks. I would like it to return the actual value of Form_frmTest.pgTitle.
Any Ideas? (I know it's confusing)
Thanks in advance.
Steve Carrier
varName = strCategory
varValue = Form_frmTest.pgCategory
and the next:
varName = strTitle
varValue = Form_frmTest.pgTitle
I have a function which uses the varName to check which field to access. For example, if strTitle is found my function GetVariable will return:
GetVariable = varValue
This works great other than the fact that it returns:
GetVariable = "Form_frmTest.pgTitle" <----- with the quotation marks. I would like it to return the actual value of Form_frmTest.pgTitle.
Any Ideas? (I know it's confusing)
Thanks in advance.
Steve Carrier