Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

This calculation will give you a 0 if it is Alpha, and 1 if it is numeric.

GetAsBoolean ( Right ( YourField ; 1 ) )

Lee

Posted (edited)

Hi comment,

Good catch. I tested it on every thing except a zero in the last position.

Can you possibly explain to me why FileMaker will filter it out as numeric, but not see it as numeric?

Lee

Edited by Guest
Posted

Filter() is a text function - you can put any characters into the filterText parameter, and Filemaker will use them without considering any other meaning they might have in another context. The fact that Filter ( text ; "0123456789" ) leaves only numeric characters is pure coincidence as far as the Filter() function is concerned.

OTOH, GetAsBoolean() is a logical function. It evaluates the data parameter as being either TRUE or FALSE. Zero is evaluated as FALSE, same as empty.

Posted

Hi comment,

Oh. Doh. Now I understand why.

Thank you for your explanation, you have once again enlightened me, and it is appreciated.

Lee

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