initialize a form

  • Thread starter Thread starter thread
  • Start date Start date
T

thread

Hi
i'm trying to build a code that will intialize of the form to the
original status it was when we just open the form,
for example all visible control will return to be unvisible like the
form status is in the start
some listboxs will return to be empty like in the start when we just
access the form
any data that was in the variable will be initialize and etc
any idea?
 
Take a look at this sample database:

http://www.accessmvp.com/TWickerath/downloads/Chap08QBF.zip

It includes a command button with caption "Clear" that clears items selected
in a list box, clears check boxes, and two text boxes for dates. It does not
reset the .visible property for any of these controls, but that would be a
trivial change to add, if you want that type of functionality.


Tom Wickerath
Microsoft Access MVP
http://www.accessmvp.com/TWickerath/
http://www.access.qbuilt.com/html/expert_contributors.html
__________________________________________
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top