Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

quote:

Originally posted by ScottHaneda:

I have a DB that has several thousand zip codes in at that lost a leading character...for example, 1568 should be 01568.

Anyone know how I can insert a "0" in front of all of them?

Replace (ZipCode, Left("00000" & ZipCode, 5)).

This should give you a 5 char zip code every time, with zeros filling in the missing numbers.

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

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

Kurt Knippel

Senior Filemaker Developer

http://www.database-resources.com

mailto:[email protected]

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

  • Newbies
Posted

I have a DB that has several thousand zip codes in at that lost a leading character...for example, 1568 should be 01568.

Anyone know how I can insert a "0" in front of all of them?

This topic is 8855 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.