Others

Use Access Form Values in an Append Query Without Prompts

Elise WilliamsElise Williams Nov 18, 2026 869 views

Question details

Run an append query from a form using the date and name values already entered on the form.

Use Access Form Values in an Append Query Without Prompts
Product
Microsoft Access
Device & OS
not provided
Scenario
A user filters records by date and name on a form, then launches an append query with a command button.
Observed behavior
The append query prompts for the date and name again instead of using the form values.
Before you start

Open the form in Design View and check its name and the Name property of each date and name control. Identify the source fields and destination table for the append query; their names depend on your database.

Solution 1Recommended

Reference the open form controls in the append query

Use this approach to reuse the form's current criteria when the command button runs the query.

Access can read values from bound or unbound controls on an open form using Forms![FormName]![ControlName]. Replace the example names below with the actual form and control names.

1
Open the query in Design View

In the Navigation Pane, right-click the query and select Design View. Add the source fields needed to identify and append the records.

2
Add form references to the criteria

In the Criteria row under the source date field, enter Forms![FormName]![txtDate]. Under the source name field, enter Forms![FormName]![txtName]. Use your actual form and control names, not the labels displayed next to the controls.

3
Test the matching records

With the form open and its criteria filled in, use Design > Select and then View > Datasheet View to check which source records match. If the date field includes times, an exact date match may not include all records from that day.

4
Configure the append query

Return to Design View, choose Design > Append, and select the destination table. In the Append To row, map each source field to the appropriate destination field, then save the query.

5
Run it from the form

Keep the form open, enter the date and name, and click the command button configured to run the saved query. Review the append confirmation and verify the added records in the destination table.

Reference the open form controls in the append query
Check unexpected prompts: If Access still prompts for a value, verify the form and control names and ensure the form is open. Also check the query for other misspelled field names or unresolved references. Append only data your design requires; duplicated data may be appropriate for historical values such as a price at the time of an order.
Free Microsoft Office alternative

Work with Office Documents in WPS Office

WPS Office is a free, lightweight alternative for everyday documents, spreadsheets, and presentations. Its familiar interface and Microsoft Office format compatibility make it easy to move existing files. It does not replace Access or run Access append queries.

Review and organize exported Access data in spreadsheetsOpen and edit Microsoft Excel XLSX filesWork with Microsoft Word DOCX and PowerPoint PPTX filesUse a familiar interface for everyday Office tasks
microsoft office alternative - wps office

Frequently Asked Questions

Can an append query use values from unbound form controls?

Yes. With the form open, enter a reference such as Forms![FormName]![ControlName] in the query's Criteria row. The control does not need to be bound to a table field.

Why does Access still ask me to enter a parameter?

In query Design View, check each form reference and field name for spelling errors. Verify the control's Name property in the form's property sheet and make sure the form is open when the query runs.

How can I check which records will be appended?

In query Design View, choose Design > Select and open Datasheet View while the form is open. Review the matching records before changing the query back to an append query.

Why might a date criterion miss records from the same day?

If the source date field stores a time as well as a date, an exact match to a date-only control may exclude records with a time value. Adjust the query to use a date range when that matches your data and goal.