Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is information stored in a variable, saved when DB closed?

Status
Not open for further replies.

hanosm

Technical User
Jul 25, 2003
52
GB
This is probably a really dumb question, but....

If i define a variable and then assign a value to it, e.g.

Dim ThisDay As Integer
ThisDay = DatePart("d", Now)))

Is the value assigned to ThisDay saved when the DB is closed, or is it lost?
 
I'm afraid it's lost.

You can however save it, either to a table, ini-files or whatever if you wan't to.

In a lot of my projects, I keep a tblDivInfo to capture a lot of such values, like what position some comboboxes had last time, checkbox values etc.

Roy-Vidar
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top