[AccessD] Global Variable

Joe Rojas JRojas at tnco-inc.com
Mon May 16 10:33:32 CDT 2005


So does that mean that Global = Public when defined at the top of a module?
If so, why are two ways to do the same thing? Compatibility?
If not, what is the difference?

Thanks!
JR

-----Original Message-----
From: Susan Harkins [mailto:ssharkins at bellsouth.net]
Sent: Monday, May 16, 2005 11:02 AM
To: 'Access Developers discussion and problem solving'
Subject: RE: [AccessD] Global Variable

Global is Public -- means you can access it from anywhere.

Susan H.

Hi All,

I am using a code example, from Microsoft, that allows me to print a
constant number of lines on a report. The code example uses a variable that
is defined as Global.
"Global TotCount As Integer"

What's the deal with Global? I can't find it defined anywhere.


--
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com



This electronic transmission is strictly confidential to TNCO, Inc. and
intended solely for the addressee. It may contain information which is
covered by legal, professional, or other privileges. If you are not the
intended addressee, or someone authorized by the intended addressee to
receive transmissions on behalf of the addressee, you must not retain,
disclose in any form, copy, or take any action in reliance on this
transmission. If you have received this transmission in error, please notify
the sender as soon as possible and destroy this message. While TNCO, Inc.
uses virus protection, the recipient should check this email and any
attachments for the presence of viruses. TNCO, Inc. accepts no liability for
any damage caused by any virus transmitted by this email.



More information about the AccessD mailing list