Link to home
Start Free TrialLog in
Avatar of Connie Jerdet-Skehan
Connie Jerdet-SkehanFlag for United States of America

asked on

Address Field Cleanup

I have two fields "address" and "plaintiff address" in table jpdat

Sample Data                           expected outcome "address"    expected outcome "plaintiff"

123 Main Street                     123 Main St                                123 Main St
123 Main St #21                    123 Main St ,21                           123 Main St unit 21
123 Main Street #21             123 Main St ,21                            123 Main St unit 21

I have created two other tables that have fields "badstring" "goodstring" in tables "Address_Correction" and "Pltf_Address_correction"

Example Data
Bad String        Goodstring
Street               St
Str                    St
Avenue           Ave  

Etc.....

First I am a novice at Access 2000
1. I am looking to clean up addresses in a form based on JPDAT table, using the information in the prespective  correction tables. How can I do this? The Address field and the PltfAddress Field need slightly different cleanup. that is why I have two correction tables.

2. if the end of the address such as 123 main st 21 is numbers I want to transfer that into the apartment field. Can I do this based on if there is a street type and if there is not one present.

Thanks for your help in advance

All help would be appreciated.


ASKER CERTIFIED SOLUTION
Avatar of Rey Obrero (Capricorn1)
Rey Obrero (Capricorn1)
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
DO use Cap's idea.  I can vouch.  I've used F&R for 14 years. Never fails.  I beta test all new version release. Do it!

mx
Avatar of Connie Jerdet-Skehan

ASKER

Ok I am a novice How do I adapt Capricrorn's idea in my database
there is an instruction from the web page, just follow it
OK I Switched to the r and f but I can't get it to replace anything am I missing something? I installed like it said I put in my table name and told it what to find and what to replace it with. It tells me search complete but it did not change anything. Any Suggestions??
oops that is rickworld.com one
F&R:

Enter the Find
Enter the Replace
Click the Tables, Queries, etc buttons
Check (mark) Log/FindChanges
Click Find.

mx
When the search is complete, click 'View Log'
Also .... don't check 'Replace With Asking', otherwise you will not get prompted for the changes ... unless that is explicitly what you want.

let me know ...

mx
ok did that still no changes occured log looks like this
Find and Replace Log      Database: C:\Documents and Settings\HP\My Documents\Dallas
      Evictions\Dallas2000.mdb
04-Apr-07
      Doc      ElementName.Property      Replaced?      Old Value      New Value
Session Time Stamp = 4/4/2007 5:17:41 PM
Find/Replace Text Specifications for this search:
      FindSpec              LANE      LN
      FindSpec              STREET      ST
Under this:

Find/Replace Text Specifications for this search:
      FindSpec              LANE      LN
      FindSpec              STREET      ST

There s/b:
Searched In:
searchin                                       > and here s/b what was searched,eg Tables (like*), (Queries like*) ...etc

I don't see that ???

mx
that is what I was thinking maybe I should uninstall then reinstall
Humm .... well, it's just an MDE and INI file ...that's it.  The INI file s/b in the Windows  (root) folder

repl9.ini

Try searching something really simple ... maybe a field name in one table and/or query .... with just Tables and Queries buttons pushed ...

mx
uninstall and reinstall did not work. I guess I have to wait for registration number to get results.
oooooh !!!

Humm .... I though trail version worked of x # of days ??

Really ... F&R WORKS ... flawlessly ... I use it daily ...

Can you post your mdb to http://www.ee-stuff.com/Expert/Upload/upload.php - removing any sensitive data?

I could run a test to be sure ...

mx

on its way
I need the link ee-stuff give you upon successful upload ...

Also ... give me some couple of exact things to search on  ... be specific ... any spaces, etc ...

mx
got another way keeps telling me my file is too small
There are some issues with EE stuff.  At the top ('Question'), paste in the entire url to this thread instead of the 'ID'
  Also, be sure it's a zip file  and it can't be larger than 4mb.

Sorry, not other way ...

mx
ok I finally got the program to work...but... I only want it to change values in the fields not any of the table properties such as field names. Please advise I will give example


From Address                              To Address
123 main street # 124                  123 main st ,124
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial