Jump to content

entering a record triggers a script?


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

Recommended Posts

Is is possible to execute a script each time an existing record is viewed? ( I want to change the layout depending on the contents of a record)

Thanks

FileMaker Version: 7

Platform: Mac OS X Panther

Link to comment
Share on other sites

Yes, but it means taking control of the user interface and scripting the record browsing environment. This usually requires hiding and locking the status area and providing other buttons (and scripts) to perform these tasks.

So for instance the "Got to Next Record" button would run a script that would go to the next record and change layouts depending on some condition.

Link to comment
Share on other sites

You can take a screen shot of the book icon, turn it into a pair of buttons, and use it to recreate a fake status area. The user can hardly tell the difference. I posted a file in the samples forum that creates a fake status area for use in find mode.

http://www.fmforums.com/threads/showflat.php/Cat/0/Number/70532/page/4/view/collapsed/sb/5/o/all/fpart/1

Link to comment
Share on other sites

This topic is 6510 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
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.