Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Perform Script does not display proper layout?

Featured Replies

Still learning Filemaker Pro 6.0 so please bear with me.

I have created a script that performs a find on a Actor DB (This appears to work find).

If there is no data found then i have it do the following:

Show all records

sort

go to layout (original Layout)

perform script(GoToMainMenu)

exit script

endif

* The GoToMainMenu Script is a simple script that calls an external script (in Movie File) that takes you to the MainMenu of the Movie File *

Here is where my problem lies:

The best i have been able to do is get a different layout in the "Actor" file to be displayed.

I am at a loss for the reason for this.

I have tried miminizing the "Actor" layout and still that layout is the one displayed.

Can anyone help me with this and explain what is going on?

Thanks in advance for any help.

It's the "exit script" that lives in the file that calls the subscript. You need to make the If'ing opposite so if anything found you do the business and then exit the script, while if nothing is found your script continues by calling the external script as last line in the script.

Set Error Capture [ On ] 

Enter Find Mode [ Pause ]

Perform Find

Set Error Capture [ Off ]

If [ Status(CurrentFoundCount) ]

-----------------------------Your actions with the found records HERE!!

Exit Script

End If

Show All Records

Sort [ Sort Order: ] [ Restore sort order, No dialog ]

Perform Script [ Filename:

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.