Hello all.
Using Access 2010. Trying to convert global variables into Tempvars. The first set of globals I converted work fine. I refer to them in code as so:
And similarly:
Everything works fine. But when I converted more globals to Tempvars, all of a sudden started receiving runtime error 32538 - TempVars can only store data. They cannot store objects.
Here's example code:
stCalledform is dim as string. It's not an object. And this is only one of several string variables that have received the error.
I've tried decompile/recompile, thinking it must be an anomaly. But can't get rid of this error.
Any insights/assistance much appreciated.
Using Access 2010. Trying to convert global variables into Tempvars. The first set of globals I converted work fine. I refer to them in code as so:
Code:
TempVars!lngProviderProgramAutoID = Nz(Me.PRV_PGM_AutoID_Programs, 0)
Code:
TempVars!stTeamMember1 = Nz(DLookup("PGM_TeamMember1", "tbl_Programs", "PGM_AutoID_Programs = " & TempVars!lngProviderProgramAutoID), "")
Everything works fine. But when I converted more globals to Tempvars, all of a sudden started receiving runtime error 32538 - TempVars can only store data. They cannot store objects.
Here's example code:
Code:
TempVars!stCallingForm = stCalledForm
I've tried decompile/recompile, thinking it must be an anomaly. But can't get rid of this error.
Any insights/assistance much appreciated.