stefangs Posted June 25, 2002 Posted June 25, 2002 i have an inventory system that deals with strictly 8-digit numbers. so i want to be able to have leading zeroes to display something like 00002367. i can enter that into a number or text field, but if the number is changed via a script, FM always truncates the leading zeroes which results in a correct number, but incorrect display. is there a nifty text function perhaps, so that the output will always have 8 digits?
slstrother Posted June 25, 2002 Posted June 25, 2002 You can use the following calc to convert the data in a number field to text with leading zeros. Left("00000000",Length("00000000")-Length(NumberField))&NumToText(NumberField)
Recommended Posts
This topic is 8257 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