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.

Looping Script

Featured Replies

I have a record that shows records through a portal via a self join.

I have the records shown by a condition of them being open.

I need help or some idea on a looping script that will go through the records shown (or each portal row) and give them all the same ID so I can reference all the items at that time later on.

I have no experience with looping at all. Can anyone help?

I wonder if your solution needs to be multiuser or we can get foolish and careless about record locking?

If so, is all it takes a GTRR(SO) and this:

http://www.filemaker.com/help/Script-Steps51.html

--sd

  • Author

Hi, This has kind of guided me towards my solution below.

Enter Browse Mode

Go to Portal Row [select;first]

Loop

Set Field [Table::Field; Table::Field]

Set Field [Table::Field; "closed"]

Go to Portal Row [select;Next;Exit after last]

End Loop

Refresh Window

Thanks for popping in I say

Edited by Guest

  • Author

I also have another problem which relates to this and all of my other scipts that involve "Portal Rows"

I have scipts that run through portal rows, within a portal but the fields that I have set do not change until I click away from the portal.

i.e. the last portal row is still highlighted when the script is finished.

Is there any step that I can introduce in order to stop this. I have tried sending the script to a different field and tried refreshing the window but nothing seems to work??

Can any one help with this?

Read on McDuff:

http://www.filemaker.com/help/Script-Steps62.html

--sd

Add the line

Commit Record/Requests[]

  • Author

Perfect, thankyou..

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.