find and replace

Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

Forum home » Delegate support and help forum » Microsoft Access Training and help » Find and replace

Find and replace

resolvedResolved · Low Priority · Version 2003

Hilary has attended:
Access Intermediate course
Access Advanced course
Access Introduction course

Find and replace

I have a large databse with about 15,000 records. When I try to find and replace text in a table, how come it doesn't search the entire database and I have to run the find/replace quite a few times to change all?

RE: find and replace

Dear Hilary

Thank you for attending Access Introduction course!! I hope you enjoyed the course and benefited from it.

When you use find/replace normally it only replaces the data in the field where the cursor was blinking.

If you want the data on the entire table to be replaced then you need to click on the drop down arrow of Look In of the Replace dialog box. Choose the name of the table and then choose replace all.

Please be very careful of this option as it will replace the entire data in the table. Thgere are some cases where you might not want to replace every singe entry!!


I hope this has answered your query.

If this has answered your query then I would request you to please mark the question as resolved!! If not and you have a specific question related to this then please post it as a new question and we should be able to provide you the solution for it!!

Kindest Regards


Rajeev Rawat
MOS Master Instructor 2000 and 2003
MCAS Master Instructor 2007


 

Access tip:

Calculating The Difference Between Dates

If you wish to calculate the time between two date fields, this can be done in a number of ways:

1. As a calculated field in a query
2. As a calculated control in a form or report
3. As a calculation in a VBA procedure.

The basic syntax to get the number of days between two dates is:

=[One Date Field] - [Another Date Field]

You can also use one of the following functions:

=Month([One Date Field] - [Another Date Field])
which calculates the number of months between the two fields

=Year([One Date Field] - [Another Date Field])
which calculates the number of years between the two fields.

Another function is the DateDiff() function.

It uses an argument to determine how the time interval is measured. For example:

=DateDiff("q",[One Date Field] - [Another Date Field])
returns the number of quarters between the two fields.

Other intervals that can be used in this expression are as follows:
"yyyy" - Years
"m" - Months
"d" - Days
"w" - Weekdays
"ww" - Weeks
"h" - Hours
"n" - Minutes
"s" - Seconds

View all Access hints and tips


Server loaded in 0.08 secs.