Preserving a value across sessions

  • Thread starter Thread starter Wayne Williams
  • Start date Start date
W

Wayne Williams

I use a public global to track number of transactions. If I shut the dataase
down and start it again, the global value is zero. How can I preserve this
value across sessions?
 
Store the value in a table, and retrieve it from the table when you start
your application, or create a database property that you can retrieve.
 
If "number of transactions" can be calculated from other data you are
already storing, why not use a query and calculate it?

Regards

Jeff Boyce
Microsoft Access MVP

--
Disclaimer: This author may have received products and services mentioned
in this post. Mention and/or description of a product or service herein
does not constitute endorsement thereof.

Any code or pseudocode included in this post is offered "as is", with no
guarantee as to suitability.

You can thank the FTC of the USA for making this disclaimer
possible/necessary.
 
Back
Top