RichardBott
MIS
In my Access XP forms, I defined a Public variable in the declarations section of my form module (immediately following the Options Compare Database command) but found that its visibility was inconsistent within procedures in that module. In one procedure, I assign a value to it but in another procedure the variable is displayed in the debugger as <out of context>. I trace the assignment of the value with the debugger but when I watch the variable, it remains as <out of context). Does anyone have any ideas?
I have tried moving the Public declaration to the 'Global Code' module, but it makes no difference.
Thanks for your help.
RjB
I have tried moving the Public declaration to the 'Global Code' module, but it makes no difference.
Thanks for your help.
RjB