View Single Post
  #32  
Old November 14th, 2005, 04:54 PM
PC Datasheet
external usenet poster
 
Posts: n/a
Default Question about a default table or method

Did your mother read this to you?

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

Joe told you that that's NOT what he said!! You must have gotten the
engineering degrees you claim you have out of a crackerjax box because you
can't read!!! Or did your mother read all your school work to you? Whatever
school(s) you claim you got engineering degrees from certainly were not
prestigious since they apparently admitted illiterates!!!


"John Marshall, MVP" wrote in message
...
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