Global Variables

  • Thread starter Thread starter Treylok
  • Start date Start date
T

Treylok

Guest
Does anyone know how to declare a global variable in Access. I pretty much want this variable to be a contant so that it cannot be changed in code. I have tried to make a module and just typed

Public const Default_Directory ="I:\Access\"

is this all I have to do, cause I cannot get it to work. When I try to access the the variable I get an error.

Thanks
:D
 

Users who are viewing this thread

Back
Top Bottom