What good is a globally defined field if it doesn’t retain data? Meaning, I have form control I set equal to a global variable and then when the sub or func ends the global variable becomes blank. I mean, I want to retain and hold that data in the global field. I defined it thus in its own module which I guess you would call a standard module.
Public GlobalRegionCode As Variant
Public GlobalRegDir As Variant
Option Compare Database
Option Explicit
Public GlobalRegionCode As Variant
Public GlobalRegDir As Variant
Option Compare Database
Option Explicit