View Single Post
  #31  
Old November 14th, 2005, 04:21 PM
John Marshall, MVP
external usenet poster
 
Posts: n/a
Default Question about a default table or method

You really are hopeless. He did say "a variable that will last for a
session."

John... Visio MVP

"PC Datasheet" wrote in message
k.net...
Dimwit,

Ask your mother to read Joe's response to you. Dimwit keeps getting
dimmer.


"John Marshall, MVP" wrote in message
...
I guess as a failed gas station attendant, you did not excel at reading.
Joe originally asked for "a variable that will last for a session.".
Global variables will do this, but there are caveats as I mentioned..

John... Visio MVP

"PC Datasheet" wrote in message
nk.net...
Go back to Visio, you don't know what you are talking about (just like
all the posts you have made!!) Joe asked about default values not global
variables.


"John Marshall, MVP" wrote in message
...
Take a look at "Understanding the Lifetime of Variables" in the VBA
help to get an understanding of how to set up a variable that will last
for a session.

As Duane mentioned, data should be kept in tables. Try and limit the
use of global variables to the smallest scope possible and load them
from a table. Remember, the data in the table could change and what is
in the variable will be obsolete.

John... Visio MVP

"Joe Cilinceon" wrote in message
...
What is the best way to have defaults in one location but available to
the whole application. Some examples would be Sales Tax rate, Late Fee
charge in addition to things like scanners/printers or other things
used with in the program.

Joe Cilinceon