Keep text inputs in form when closed and reopened

JuniorWoodchuck24

Registered User.
Local time
Today, 04:57
Joined
Jan 13, 2010
Messages
59
I've created a form by clicking (Form Design) and have put some labels, text boxes, and buttons on the form. The form is designed to help the user find out certain things. I was curious if there is something on the text box such as a property you can change that allows the user to close the form and reopen it and the text they entered into the form will still be there. As of now once I close and reopen the form all the inputted text is gone.

I know you can use VBA code to write all the text to a Table and then once the user comes back in you can have them click a button that pulls all the info off the tables and places them back into the texts boxes. This seems like it could cause errors if the user chooses to change his selections or edit the previously saved info.
 
I think if you go on the properties of the textbox and set data entry to no. It could work it did on my last database I made. Otherwise you could add a little bit of code to your on exit event or the button you use to exit the screen to save the values of your textboxes to a few different variables and then reload these variables to the textboxes on the on load event of the form
 

Users who are viewing this thread

Back
Top Bottom