Arising from a question asked by another forum user, I realised I didn't know what the scope of a file's "connection name" is. I suspect it is Public (since there is no declaration for it), but it isn't mentioned in the Help topic for modules.
Similarly, I found that when I made a global variable into a Public one the initial value setting seemed to become a syntax error. I solved it by moving the initialisation into the App_Start, but that isn't an option for any module other than the Main one. Is this an intended restriction, and if so could it also be explicit in the help?
Mike.
Similarly, I found that when I made a global variable into a Public one the initial value setting seemed to become a syntax error. I solved it by moving the initialisation into the App_Start, but that isn't an option for any module other than the Main one. Is this an intended restriction, and if so could it also be explicit in the help?
Mike.