I have created a module that prompts the user to enter a date in a text format of "yyyymmdd" into an inputbox. the variable is declared as DIM as String.
This variable is then used as part of a file name and destination and is used to import a csv into access and create a table.
I also want that variable to be used to update a field in my table.
wouldn't this be best served with a public property
>>the variable is declared as DIM as String
Global variables are bad form. You'll run into problems from the get go using them. Just a thought ;-)
____________ signature below ______________
The worst mistake you'll ever make is to do something simply the way you know how while ignoring the way it should be done
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.