View Single Post
  #1  
Old February 23rd, 2006, 01:26 PM posted to microsoft.public.access.gettingstarted
external usenet poster
 
Posts: n/a
Default Public Variables

Hi

I store the company name that is displayed on all my forms in a table. I use
DLookup("[Company Name]", " Company Details") to retrieve the company name
from this table. Is it not better to retrieve the company name at startup
and store it to a global variable?

If the variable option is the best, how do I declare a global variable in
Access? I declare the variable in a module but can not get a value assigned
to it.

As you can see I am new at this.

Kind Regards

Pierre