G Guest May 31, 2005 #1 Access2K Is there a way to convert the value of a string variable into a control name?
A Allen Browne May 31, 2005 #2 If you have the name of a variable in a string variable, you can use it to refer to a control on the current form in VBA code like this: Dim strControlName As String strControlName = "City" Me(strControlName) = "New York"
If you have the name of a variable in a string variable, you can use it to refer to a control on the current form in VBA code like this: Dim strControlName As String strControlName = "City" Me(strControlName) = "New York"
X XMan Jun 8, 2005 #4 Another great tip! Allen Browne said: If you have the name of a variable in a string variable, you can use it to refer to a control on the current form in VBA code like this: Dim strControlName As String strControlName = "City" Me(strControlName) = "New York" Click to expand...
Another great tip! Allen Browne said: If you have the name of a variable in a string variable, you can use it to refer to a control on the current form in VBA code like this: Dim strControlName As String strControlName = "City" Me(strControlName) = "New York" Click to expand...