Environ State or City?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there anyway to use the environ function to get the City or State? If
not, does anyone have a recommendation? Thanks in advance.
 
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.
 
Is there anyway to use the environ function to get the City or State? If
not, does anyone have a recommendation? Thanks in advance.

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?

John W. Vinson [MVP]
 
Could I use the environ function to find my glasses? I'm sure they're
somewhere here in the environment!
 
Could I use the environ function to find my glasses? I'm sure they're
somewhere here in the environment!

<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.

John W. Vinson [MVP]
 
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.

John W. Vinson [MVP]

--
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.

Ask a Question

Back
Top