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

Recommended Posts

Posted

So I want to make a value list which is the first four letters of a customer's last name.  Why?  because I want the guys to type those four letters to find a customer code.  The customer table will have a customerID but this will be used to type first character and match then type second character and match for filtering the list of customers to choose from in portal.  

 

If I have a value list of the four characters for all the customers then I can put a portal filter on the Dashboard portal to customers which could be like this I think

 

PatternCount( characters typed ; four character value list )  or similar, right?  Thank you.

Posted

If I have a value list of the four characters for all the customers then I can put a portal filter on the Dashboard portal to customers which could be like this I think

PatternCount( characters typed ; four character value list )  or similar, right?  Thank you.

 

If you want to have a portal filter, you can simply use

Left ( PortalTO::nameLast ; 4 ) = charactersTyped

To make this work for any length of charactersTyped, use

Left ( PortalTO::nameLast ; Length ( charactersTyped ) ) = charactersTyped

No need for any value lists (because each record is matched individually against the input field), or – since you know you're examining the first four/n letters – PatternCount().

  • Like 1
Posted

FileMaker text functions are very powerful, and eos has the right solution. Do a google search for "filemaker text functions" and you'll get the list of everything that's available.

Posted

FileMaker text functions are very powerful, and eos has the right solution

 

Then why did you vote down the post with that very solution?

  • Like 1

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