G
Guest
Hi all,
I am trying to declare a global variable in my module that stores the value of path of my database with the following codes
Global Const currDir As String = CurrentProject.Path
when i tried to access the variable, currDir in my Sub procedure, my program does not run.
Please advise what's wrong with my declaration.
Thanks & regards
yann
I am trying to declare a global variable in my module that stores the value of path of my database with the following codes
Global Const currDir As String = CurrentProject.Path
when i tried to access the variable, currDir in my Sub procedure, my program does not run.
Please advise what's wrong with my declaration.
Thanks & regards
yann