W
WRG!
I just upgraded to Access 2003. Everything pretty well works on my primary application. However, on every form and every report, unbound text boxes whose controlsource is equated to a declared variable in the class module now display only the error indicator #NAME? or #ERROR.
Even a new database created in Access 2003 does this. e.g the following code:
Class module has the following declaration.
Public TsT as String
MyForm_Load subroutine has the following code
TsT = "This is a Test"
Form has unbound text box named txtTest.
The controlsource is set as follows: =[TsT]
When the form is executed, the control txtTest displays #NAME?
If I convert txtTest into a lable I can do the following:
Even a new database created in Access 2003 does this. e.g the following code:
Class module has the following declaration.
Public TsT as String
MyForm_Load subroutine has the following code
TsT = "This is a Test"
Form has unbound text box named txtTest.
The controlsource is set as follows: =[TsT]
When the form is executed, the control txtTest displays #NAME?
If I convert txtTest into a lable I can do the following: