Ron Cates Posted September 28, 2010 Posted September 28, 2010 (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 September 30, 2010 by Guest ID Field Type
David Jondreau Posted September 28, 2010 Posted September 28, 2010 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.
Ron Cates Posted September 28, 2010 Author Posted September 28, 2010 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
Lee Smith Posted September 28, 2010 Posted September 28, 2010 Hi Ron, A way better description of your need. Lee
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now