aklisiewicz Active Member Licensed User Longtime User Jan 10, 2014 #1 I have a variable like this: B4X: Dim dbFileName As String :dbFileName = "my_slite.db" declared in Main module in Sub Process_Globals For some reason when I try to access this Var from another module It is not visible and reference code shows in red any ideas ? Arthur
I have a variable like this: B4X: Dim dbFileName As String :dbFileName = "my_slite.db" declared in Main module in Sub Process_Globals For some reason when I try to access this Var from another module It is not visible and reference code shows in red any ideas ? Arthur
NJDude Expert Licensed User Longtime User Jan 11, 2014 #2 You have to access the variable like this: B4X: Main.dbFileName Upvote 0
Q qsrtech Active Member Licensed User Longtime User Jan 11, 2014 #4 Hopefully we'll be able to skip the "module name" one day in the near future... Upvote 0