Find and replace

The db has fields where dates must be entered in mm/dd/yyyy format. Please tell me how to do that using find and replace. I have tried __/__/____ and null and various forms of __/__/____ using 9's and 0's in a query with the same error message: "Microsoft Access finished searching the records. The search item was not found." I would like to avoid the need to enter each date separately or using a copy/paste. Your assistance would be greatly appreciated. Thank you.   Lyn
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jeffrey CoachmanMIS LiasonCommented:
is actually a sting, "Find" is literally looking for the string "__/__/____"

Find/replace is only designed to look for text/numbers, ...not dates (dates are basically numbers with a date format.)

You can use a query/code to replace dates.
see the attached sample.
Notice the two dates of 1/5/2015 in the table

On the form, enter 1/5/2015 in the find box, and 1/1/2000 in the replace with box, and click the button
Then view the change in the table data

examine the basic code to see how this was done.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
lherouxAuthor Commented:
Thank you.
Jeffrey CoachmanMIS LiasonCommented:
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.