UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Where in the project should my global variable go?    
 
   
jasonlinden
post Jul 7 2005, 05:06 PM
Post #1

UtterAccess Addict
Posts: 262
From: Everett, WA



I've got this access project, that is organized like this (when viewed in the VBA Editor:

Project
Microsoft Access Class Objects
Form
Form1
Form2
Report1
Report2

If I want to create a global variable in a module, where in the hierarchy should this module go? Should it be under project by itself? Should it wrap around other objects?

Thanks!
Go to the top of the page
 
+
dannyseager
post Jul 7 2005, 05:11 PM
Post #2

UtterAccess VIP
Posts: 13,031
From: Leicester, UK



Right click below the list (anywhere in the white bit of the Project pane and select Insert > module

Create you public functions / public variables in stand alone modules
Go to the top of the page
 
+
R. Hicks
post Jul 7 2005, 05:12 PM
Post #3

UA Forum Administrator
Posts: 38,073
From: Birmingham, Alabama USA



You should not create a new post if you needed more information ...
You should instead add a reply to the existing post ...

Making double posts on the same related problem scatters your problem within the forums and is a violation of the forum rules.

Ricky Hicks
Utter Access Forum Admin
Go to the top of the page
 
+
jasonlinden
post Jul 7 2005, 05:47 PM
Post #4

UtterAccess Addict
Posts: 262
From: Everett, WA



Okay, Sorry (IMG:http://www.utteraccess.com/forum/style_emoticons/default/frown.gif)
Go to the top of the page
 
+

Thank you for your support! Reply to this topicStart new topic

Jump To Forum:
 



RSS Go to Top  ·  Lo-Fi Version Time is now: 21st May 2013 - 06:00 PM