Jump 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 compatability: Set Field in IWP

Featured Replies

  • Newbies

I have a couple of scripts that use Set Field. These scripts are run using a button in a portal. They both work fine in the application, but one doesn't work at all in the web browser while the other sometimes does something. Am I missing something? The scripts show complete compatability for iwp.

Probably depends on how and with what value they are setting the field... If they reference a global or are otherwise context sensitive, you may have issues... Exact script definition?

  • Author
  • Newbies

This script is activated by a button in a portal to a Results layout, within Students layout. The button essentially is to create and partly fill in a new results record for that student. The portal filter uses the field Year and SubjectID, as well as Student ID. New records in Results table have a Results ID counter.

* If [Results::Result ID = 0] (provided the record using this ID is empty)

* Set Next Serial Value [Results::Results ID] (basically start a new record with the ID counter)

* Set Field [Results::Student ID; Students::Student ID] (Reads field from Students layout and enters it into new record)

* Set Field [Results::Subject ID; Students::Subject ID] (Reads field from Students layout and enters it into new record)

* Set Field [Results::Year; Students::Year] (Reads field from Students layout and enters it into new record)

*End If

It's pretty basic, with no particular bells or whistles, and as I said, it works in Filemaker. None of the fields are global.

Create an account or sign in to comment

Important Information

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

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.