The Environ function is intended to return the string associated with an
operating system environment variable. If you go to a DOS box,type Set and
hit Enter, you'll see a list of all of the variables currently defined. If
the City or State value you want is in that list, within Access you can use
Environ("NameOfVariable") to retrieve its current value.
If that's not what you're looking for, you'll need to provide more
information about what you're trying to do.
Probably not. How would a laptop computer (say) know where it happened to be
located at the moment? For that matter, when I've installed Windows, I don't
recall ever being asked for that information as a Windows value (only for
transmittal to vendors for registering software).
What's the context? What are you trying to accomplish?
I solved that problem by going to my nearby Honk's Only $1.05 Store (inflation
has struck) and bought eight 2-diopter reading glasses. They're all over the
house.
Actually, I do too! One pair in each room plus a pair in the car!
<chuckle>
I solved that problem by going to my nearby Honk's Only $1.05 Store (inflation
has struck) and bought eight 2-diopter reading glasses. They're all over the
house.
--
There's ALWAYS more than one way to skin a cat!
Answers/posts based on Access 2000
Message posted via AccessMonster.com
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.