bonngo Posted February 4, 2009 Posted February 4, 2009 I need to be able to add a leading zero to a number ONLY if the number is a single digit ex. 1 needs to be 01 but 12 can stay as is. Any ideas out there?
IdealData Posted February 4, 2009 Posted February 4, 2009 Will this work? The SerialIncrement function is targeted at TEXT fields, not number fields.
comment Posted February 4, 2009 Posted February 4, 2009 (edited) It will work, provided the result is set to type Text (numbers do not have leading zeros). --- I should add that this will also work with a Number result (provided it's not formatted as Decimal), since Filemaker is pretty tolerant regarding what can be entered into a Number field. But eventually, if there are leading zeros then the real type is Text, and it would be better to stick to that. Edited February 4, 2009 by Guest
Julian L Posted February 4, 2009 Posted February 4, 2009 I know this has been solved already, but here is another way to accomplish this: Right ( "00" & Number ; 2 )
Recommended Posts
This topic is 5830 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