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.

Find script works locally but not through IWP??

Featured Replies

  • Newbies

I have a simple layout (MembershipMasterFind) that presents the user with a Last Name field as well as a few control buttons. The script below works perfectly to "get" the member's last name and then present a new layout (MembershipMasterAddress) to allow editing. When working locally, you can enter the last name, either press Enter or click my "Find Member" button.

However, trying to duplicate this through IWP fails. If I press Enter, the prior text is pushed up and I am on "line 2" of the last name field. If I instead click the "Find Member" button, I get to the 2nd layout with blank fields.

To make it work correctly through IWP I have to enter the last name and then click Find on the FileMaker control bar on the left.

Can someone help me understand what is needed to it will work in IWP? Here is my script:

Show All Records

Goto Layout ["MembershipMasterFind"]

Enter Find Mode [Pause]

Perform Find []

Goto Layout ["Membership Master Address"]

Dear Dude,

The last I knew FMPro's ScriptMaker was single-threaded and did not queue subsequent, near-simultaneous event requests. Do you know something I don't know?

I know that when a ScriptMaker event uses a pause, if another request is made during that pause, a single-threaded ScriptMaker will allow the subsequent request to run without completing the first request. Now what will the consequences of that be to your web site?

With FMP 7's IWP, scripts run through to completion, THEN the results are returned to the browser. So script steps like Show Dialog are not compatible, and Pause steps are ignored AFAIK. So you script is running, but the pause in Find mode is not being honored.

Time to rethink your find process for the web. Maybe two steps: 1) enter find mode. Then 2) Perform the find. Separate scripts.

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.