Jump to content

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

Recommended Posts

Posted

Hi All,

I have a text field ... 270123 ..when I convert to number using texttonum then I got 27123. Because I would like to get next number of it by increasing 1 then I would like to have 270124 ...Is there a way to get from text to number by having 270123 instead of 27123 ?

Thanks

Posted

Numbers can't have leading zeros. But you can do this:

TextToNum(27 & 0 & 123)

... or:

TextToNum(field1 & 0 & field2)

Does that help?

Posted

it seems a simple typo here.

TexttoNum(270123)=270123

TexttoNum(27O1213)=27123 8That's an "O" like in "One"

Posted

"TexttoNum(27O1213)=27123 8That's an "O" like in "One""

I think you figured it out, as the poster didn't mention two fields. There might be a 2 typos in you answer though.

Lee

smile.gif

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