You should not change the query to a SELECT query. It should remain an UPDATE
query.
I may have mislead you with the line
Select Query: Parameters from the Menu
By select I meant Click on QUERY: Parameters in the menu. That will open the
parameters dialog. The second set of instructions was an alternative to
directly editing the SQL statement.
If you are going to try to do this from VBA, you can use DoCmd.RunSQL and the
SQL string. I would normally use the execute method of a database reference
and a modification to the SQL string if I were going to use VBA.
John Spencer
Access MVP 2002-2005, 2007-2008
The Hilltop Institute
University of Maryland Baltimore County
Try declaring the prompts as parameters in the order you want to use them
Parameters [Old Date] DateTime, [New Date] DateTime;
UPDATE YourTable
SET YourField = [New Date]
WHERE YourField = [Old Date]
To add the parameters using the query design view
Open the query in design mode
Select Query: Parameters from the Menu
Fill in the EXACT name of the parameter in column 1
Select the data type of the parameter in column 2
Should I use the RunSQL command in code view to do this? I made the
perameter additions to the query and changed to Select query and it
doesn't update.