PC Review


Reply
Thread Tools Rate Thread

Global Variables?

 
 
Brenda
Guest
Posts: n/a
 
      3rd Aug 2003
It would be great if someone could point me in the right
direction.

I'm OK with dimming and using variables within procedures,
like behind forms, if I'm only referring to vriables
established within that one form.

I'm ok with calling procedures I put in modules, like the
on open event of a form, or on click of command button.

But what's not working the way I want it to is when I
attempt to reference a variable that was dimmed and given
a value in a module outside of the current form. Even
when I make it public.

What am I missing? Thanks very much.

PS: Yes, I have the great Access Enterprise Developers
book and am making my way through them... but can I cheat
a bit and have you just get past this or point me in the
right direction?

 
Reply With Quote
 
 
 
 
Rick Brandt
Guest
Posts: n/a
 
      3rd Aug 2003
"Brenda" <(E-Mail Removed)> wrote in message
news:02f801c35964$3ea70240$(E-Mail Removed)...
> It would be great if someone could point me in the right
> direction.
>
> I'm OK with dimming and using variables within procedures,
> like behind forms, if I'm only referring to vriables
> established within that one form.
>
> I'm ok with calling procedures I put in modules, like the
> on open event of a form, or on click of command button.
>
> But what's not working the way I want it to is when I
> attempt to reference a variable that was dimmed and given
> a value in a module outside of the current form. Even
> when I make it public.
>
> What am I missing? Thanks very much.
>
> PS: Yes, I have the great Access Enterprise Developers
> book and am making my way through them... but can I cheat
> a bit and have you just get past this or point me in the
> right direction?


Did you dim them in another form's module or in a standard module? If in another
form is that form open? It would need to be. If you want it available all the
time then use a standard module. if you _did_ use a standard module then it
should be available to your form code.


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Global Variables/Session Variables =?Utf-8?B?ZGNoMw==?= Microsoft Outlook VBA Programming 2 31st May 2007 02:11 PM
Global variables Ed Microsoft Excel Programming 6 19th Nov 2006 11:55 PM
Global variables, reading variables from a file Andrew Cushen Microsoft Outlook VBA Programming 15 22nd Jan 2004 04:02 PM
Global variables on par with ASP's global.asa Wayne Microsoft ASP .NET 2 11th Nov 2003 11:58 PM
Global Variables J Microsoft ASP .NET 4 19th Aug 2003 06:45 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:24 PM.