Something I reverted to is a hidden field on a form to retain the global variable so if I lost it I would retrieve it by the value of that form value.
From: MS_Access_Professionals@yahoogroups.com [mailto:MS_Access_Professionals@yahoogroups.com] On Behalf Of zctek@aol.com
Sent: Tuesday, February 11, 2014 10:03 AM
To: ms_access_professionals@yahoogroups.com
Subject: [MS_AccessPros] Holding Global Variables in a Class Module
Hi All,
Many months ago there was a discussion re. holding Global Variables in a Class Module being preferable to holding them in a standard Module because in the event of an error, the Variables could lose their value.
If that is true then I would like to see and example of a Class Module holding one or more Global Variables.
I would appreciate any help. I am using Access 97, 2003, and 2007.
Regards, Clive.
This email (and all attachments) is for the sole use of the intended recipient(s) and may contain privileged and/or proprietary information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
| Reply via web post | Reply to sender | Reply to group | Start a New Topic | Messages in this topic (2) |
Tidak ada komentar:
Posting Komentar