Jump to content

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

Recommended Posts

Posted (edited)

I am looking for a calculation to use in conjuction with replace field contents to remove all leading zeros from a number in a field?

Thanks

Edited by Guest
ID Field Type
Posted

Is the only data this field holds a single number? If so, you can change the field type to Number and that will remove all zeroes.

If there's other text in there...you'll need to get tricky. How tricky depends on whether there is more than one number in the field you need to adjust.

Posted

Problem solved. I just used GetAsNumber(MyField) and it worked just fine.

The field was originally text but I changed it to a number field. The old data had the leading zeros that needed to be removed.

Thanks

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