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

Recommended Posts

Posted

Hi there,

I have a database with groups of layouts that share the same keyword - e.g. Registrations is one layout, findRegistrations is another and there is RegistrationsList and editRegistrations. I want to create a conditional that is activated when it detects the keyword in the layout. So if  Get(layoutName) contains the word "Registrations", perform the conditional. I thought Filter or FilterValues might work but i can't seem to get it to do so. How do I extract the keyword? And is it case sensitive?

All advice gratefully received.

Posted

Try:

PatternCount ( Get ( LayoutName ) ; "Registrations" ) 
(is not case sensitive)

I would recommend you make your layouts names based on an Entity - Intent pair

  • Registration - Form
  • Registration - List
  • Registration - Edit
  • Registration - Find


Then you can do  LeftWords ( Get ( LayoutName ) ; 1 ) or RightWords ( Get ( LayoutName ) ; 1 ) for the entity / intent respectively 

 

  • Like 1

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