Jump to content

Moving text from one field to another


This topic is 8547 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I have a field that is called zip code which some records have zip only and others have a space then zip + four. I can perform a find on the records to just locate the zip+four records, now I want to move only the last four numbers to a new field and leave the five zipcode values in the field. How can this be done?

Thanks

Link to comment
Share on other sites

quote:

Originally posted by George:

I have a field that is called zip code which some records have zip only and others have a space then zip + four. I can perform a find on the records to just locate the zip+four records, now I want to move only the last four numbers to a new field and leave the five zipcode values in the field. How can this be done?

Do a replace on your Zip+Four field using the Right(ZipCode, 4) function.

------------------

=-=-=-=-=-=-=-=-=-=-=-=-=

Kurt Knippel

Consultant

Database Resources

mailto:[email protected]

http://www.database-resources.com

=-=-=-=-=-=-=-=-=-=-=-=-=

Link to comment
Share on other sites

This topic is 8547 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.