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.

placing text into a repeating field

Featured Replies

Hello. I can't for the life of me get this, and I'm hoping you can help me out. I simply want an applescript to write a text string into the second repetition of a repeating field? Any ideas? I don't have much hair left to pull out (plus, I guess it's time to acquire some familiarity with applescript). TIA.

Is there some compelling reason to do this with AppleScript? If so, I believe this thread tells you what you want to know.

Use the Status(CurrentRepetitionNumber) function; when that is 2, set the field.

Despite repeating fields are the trademark of the seasoned developer <g> could you do it like this:

tell application "Filemaker Pro"

set _aVar to display dialog "Enter a value for 2nd repetition" default answer ""

set _aVar to text returned of _aVar

set _bVar to cell 1

set item 2 of _bVar to _aVar

set cell 1 to _bVar

end tell

...Where cell 1 is the repeating field in question, remember that the field should have it's repetitions visible on the layout in question.

--sd

  • Author

Soren: Bingo! Exactly what I needed. Thanks.

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.