LarryDeLaruelle
Technical User
Is it possible to assign a string variable value to an unbound text box control using a visual basic statement:
txtCounty = strCounty
This results in a runtime error 2448, You cannot assign a value to this object.
I have tried several methods including txtCounty.ControlSource, txtCounty.Default value which results in a compile error.
I've also tried to set the control source property to =[me].[strcounty] and get the #Name error.
I've done this with dates with no problem but can't figure out how (or if I can) assign a string value.
Thanks. Larry De Laruelle
ldelaruelle@familychildrenscenter.org
txtCounty = strCounty
This results in a runtime error 2448, You cannot assign a value to this object.
I have tried several methods including txtCounty.ControlSource, txtCounty.Default value which results in a compile error.
I've also tried to set the control source property to =[me].[strcounty] and get the #Name error.
I've done this with dates with no problem but can't figure out how (or if I can) assign a string value.
Thanks. Larry De Laruelle
ldelaruelle@familychildrenscenter.org