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.

Script in 6.6 fails in FMP 8

Featured Replies

Can some one tell me what additional script steps are necessary to make this FMP6.6 script work when the files are converted to fmp8? My operating systems is Windows XP.

I have two files. File A and File B. In File A I have a portal that allows me to view and create File B records. The script steps are:

In File A.

Copy [select, “student ID”]

Perform Script [subscripts, external, “File B”]

This step performs the following script in File B

New Record/Request

Paste [select, “Student ID”]

Open [File A]

The final step in this script returns me to File A where I see a new blank record in the portal.

When these files are converted to FMP 8 the same scripts will create a new record in File B and return me to File A, but the record will not display in the portal. The only way for me to get it to display in the portal is to go to File B, where I can view the new record and then return to File A. I checked the portal to make sure the relationship still existed and it did.

Any ideas? Thanks.

Bob Sherman

after "paste", add a "commit record"

  • Author

Thank you Journeyman. That worked. Bob

Seems to me you could just enter data in the portal directly--without the script at all (if you've got the relationship set to allow creation of records). Were you just to start adding info in the portal on a blank line, FM should automatically add the active Parent ID (in this case StudentID) to the child record.

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.