logo
search
Others

Fix Unbound Text Box Values Disappearing in Microsoft Access Forms

Tauseeq MagsiTauseeq Magsi Sep 28, 2026 869 views

Question details

The user needs to retain retrieved values in unbound text boxes on a Microsoft Access form after it is closed and reopened.

Fix Unbound Text Box Values Disappearing in Microsoft Access Forms
Product
Microsoft Access
Device & OS
not provided
Scenario
Using a combo box to retrieve data from another table and display it in unbound text boxes on a data entry form.
Observed behavior
Values displayed in the unbound text boxes disappear when the form is reopened, even though the combo box selection is retained.
Before you start

Determine whether your form requires permanent historical storage of the retrieved values in a table, or if the text boxes simply need to display data dynamically based on the current combo box selection.

Solution 1Recommended

Bind Text Boxes to Store Values Permanently

Use this method if the retrieved values must be saved historically in the form's underlying table so they persist when reopened.

Unbound text boxes are inherently temporary; they do not save data to your database tables. To preserve the data permanently, you must bind the text boxes to specific fields in your table and update them using an event trigger.

1
Bind the Text Box

Open your form in Design View, select the target text box, open the Property Sheet (Data tab), and set the 'Control Source' to the appropriate field in your underlying table.

2
Access the Combo Box Events

Select the combo box on your form, navigate to the Event tab in the Property Sheet, and click the ellipsis (...) next to the 'After Update' property to open the VBA editor.

3
Assign Values using VBA

Add VBA code to assign the combo box column values to your bound text boxes. For example: Me.YourTextBox = Me.YourComboBox.Column(1). Save and close the VBA editor.

Bind Text Boxes to Store Values Permanently
Event Selection: Always use the AfterUpdate event rather than the Change event. The Change event triggers every time a single character is typed, which will cause unnecessary background processing and potential errors.
Free Microsoft Office alternative

Looking for a Free and Lightweight Office Suite?

While Microsoft Access is a powerful tool for complex database management, WPS Office is the perfect free alternative for your daily word processing, spreadsheet analysis, and presentation tasks. It offers a familiar interface and comprehensive features without heavy subscription fees.

  1. 1. Download the Installer: Visit the official WPS Office website and download the free installation package tailored for your operating system.
  2. 2. Install WPS Office: Run the installer and follow the simple on-screen instructions to complete the lightweight installation process.
  3. 3. Open Your Documents: Launch WPS Office and instantly open your existing Word, Excel, and PowerPoint files with complete formatting retention.
Fully compatible with Microsoft Office formats (Docx, Xlsx, Pptx)Free to use with a highly intuitive, familiar user interfaceLightweight installation package with fast startup timesAll-in-one suite for documents, spreadsheets, slides, and PDFs
microsoft office alternative - wps office

Frequently Asked Questions

Why do values in unbound text boxes disappear when reopening an Access form?

Unbound text boxes are not connected to any underlying table or query. They only hold data temporarily in the system memory while the form is active. Once the form is closed, all temporary data stored in unbound controls is discarded.

What is the difference between AfterUpdate and Change events in a combo box?

The AfterUpdate event triggers only once after the user has finalized their selection or completely finished modifying the control. The Change event triggers immediately after every single keystroke, making it highly inefficient for assigning values to other form controls.

How do I reference a specific column in a Microsoft Access combo box?

You can reference specific columns using the Column property expression, such as =[ComboBoxName].Column(Index). Keep in mind that column indexes are zero-based, meaning .Column(0) retrieves the first column, and .Column(1) retrieves the second column.