How to Store Item-Specific Data in a Microsoft Access Form
Question details
The user needs to retain temporary item-specific information in a warehouse database so the data persists when the form is reopened and remains unique to each item.
- Product
- Microsoft Access
- Device & OS
- not provided
- Scenario
- Managing item-specific data in an Access warehouse database.
- Observed behavior
- The information needs to remain available for each distinct item when the form is reopened, rather than acting as a temporary form-only variable that disappears.
Ensure you have design-view access to both your warehouse database table and the corresponding Access form before making structural changes to your database fields.
Bind Temporary Data to the Table Record
To retain data unique to each item between sessions, the data must be stored directly in the item's table record rather than as temporary form-only data.
If you have data associated with an item, it should be integrated as part of the item record in your database table. Unbound form variables will not save data permanently.
Navigate to your warehouse database table that contains the item data in the Navigation Pane, right-click it, and select Design View.
Add a new field of the appropriate data type for your temporary data. For example, select 'Currency' for monetary values, 'Short Text' for brief strings, or 'Long Text' for larger text inputs.
Save the changes to the table structure so the new field becomes a permanent part of the item record.
Locate the Access form bound to this table in the Navigation Pane, right-click it, and open it in Design View.
Add a new text box control to the form. Open the Property Sheet for the text box, navigate to the Data tab, and set the Control Source to bind it to the newly created table field.
Looking for a Free Office Suite? Try WPS Office
While WPS Office does not include a relational database management tool like Microsoft Access, it offers a robust, free alternative for Word, Excel, and PowerPoint. If you manage simple inventory or warehouse data via spreadsheets, WPS Spreadsheet provides powerful data handling, advanced formulas, and seamless compatibility without the complexity of a database.

Frequently Asked Questions
Why does my entered data disappear when I close an Access form?
If data is entered into an unbound text box on a form, it only exists temporarily in the system's memory for that active session. To keep the data permanently, the text box must be bound to a specific field in the underlying database table via the Control Source property.
How do I choose the right data type for my new Access table field?
The data type should accurately match the information you plan to store to ensure database integrity. Use 'Short Text' for names or brief codes, 'Currency' for financial values, 'Number' for quantities, and 'Yes/No' for boolean values.
Can I use unbound forms to store temporary variables at all?
Yes, unbound forms can temporarily hold variables, filter criteria, or user selections during an active session to navigate or filter other data. However, they will not save item-specific data directly to your permanent database tables.




