SteveCarrier
Programmer
Hello, I was wondering if this syntax is correct cause I am having some problems with it.
strValue = Form_frmTest.[strFieldName]
I need strValue to equal the value of the field contained in the variable strFieldName.
For example strFieldName might contain pgCategoryName and therefore I need access to find:
strValue = Form_frmTest.pgCategoryName
With the syntax above I get a "Microsoft cannot find the field "|" as found in your expression" error.
Thanks in advance.
Steve Carrier
strValue = Form_frmTest.[strFieldName]
I need strValue to equal the value of the field contained in the variable strFieldName.
For example strFieldName might contain pgCategoryName and therefore I need access to find:
strValue = Form_frmTest.pgCategoryName
With the syntax above I get a "Microsoft cannot find the field "|" as found in your expression" error.
Thanks in advance.
Steve Carrier