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 3777 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hello All:

 

I have a text field that I'd like to filter on taking only characters A-Z, 0-9 and some special characters like "@#$%, carriage returns and tabs.  My problem is I don't know how to specify the Special Characters, Carriage Return and Tab in the Filter script.

 

Anyone?

 

Dom

Posted

Use the Char() function to pass the matching ASCII values / Unicode code points; in this case, that would be Char(9) and Char(13),

Posted

Wim, EOS:

 

Thank you both.  Had a blonde moment there.  ( lol )

 

Dom

Posted (edited)

Filemaker has a special symbol for the carriage return: There's even a button in the Specify Calculation window for inserting the symbol. Alternatively, you can use Char (13).

 

Regarding the tab, you can either type* or paste an actual tab into the formula (there's no way to type it, AFAIK) or - preferably - use Char (9).

 

---

(*) Using Ctrl+Tab on Windows, Option+Tab on OS X.

Edited by comment
Posted

Thanks all.  I learned something new today.  Appreciate all the help. 

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