J
Jim Franklin
Hi,
Just something I have often wondered, as it crops up with almost every
application...
If you have a 1-record table which contains various settings for an
application, and those settings are used frequently in different functions
of the app, say via a function which opens the tbl_Settings recordset and
returns the appropriate field, is it more common (and more efficient) to run
the function every time a setting is needed, or to use a global variable,
and use the function only once at startup to assign the variable value.
I know this isn't a 'Help! How do I...' question, but if anyone can answer
this I would be very grateful,
Cheers,
Jim
Just something I have often wondered, as it crops up with almost every
application...
If you have a 1-record table which contains various settings for an
application, and those settings are used frequently in different functions
of the app, say via a function which opens the tbl_Settings recordset and
returns the appropriate field, is it more common (and more efficient) to run
the function every time a setting is needed, or to use a global variable,
and use the function only once at startup to assign the variable value.
I know this isn't a 'Help! How do I...' question, but if anyone can answer
this I would be very grateful,
Cheers,
Jim