Jump to content

Looking for a Specific Number/Begins With


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

Recommended Posts

Hi All,

I am trying to create a basic calculation to return a Word IF a number in a field begins with a specific number. This is for auto text for credit cards. So if the number begins with 3 then its an America Express. How would I write that?

Thanks for your help!

Link to comment
Share on other sites

Case( Left( NumberField ; 1 ) = "3"; "American Express" ;

Left( NumberField ; 1 ) = "5" ; "Major Credit Card" ;

Left( NumberField ; 1 ) = "4" ; ""Major Credit Card" ;

Left( NumberField ; 1 ) = "n" ; "Something Else"

)

Link to comment
Share on other sites

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