Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

  • Newbies
Posted

As I toggle thru records within a database (using the record icon in the upper left), is there a way for Filemaker to run a script (automatically) as it goes to the next record?

example: I have an "If" script set up to "switch layouts" when a certain "field" has a certain "value". But as I toggle thru records, how can Filemaker check the "If" statement everytime I toggle to the next record?

Posted

I don't think you can if you use the filemaker record icon but an alternative might be to set up a 'Next' button on each layout with a script attached along the lines of

go to record(next)

If field a = 'whatever'

go to layout 'wherever'

endif

If field a = 'whatever -b'

go to layout 'wherever -b'

endif

HTH

Phil

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