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.

Extracting Data as Text from a Portal

Featured Replies

I am having difficulty extracting text from the fields in a portal that I need to include in an e-mail.

Each portal row contains two text fields and the portal can have 1 to many rows. I want to include the contents of each of the portal rows in an e-mail and therefor I am trying to create a script that loops through the portal rows and concatenates each of the row's field contents into a text field in the front database record.

I think that the process should be as follows:

1) Identify the portal

2) Got to the portal's first row

Loop

3) get first text field in portal row into front record field 1

4) get second text field in portal row into front record field 2

5) concatenate front record field 1 and front record field 2 into front record field 3 to build e-mail contents

End Loop after last portal row is processed

Platform is Windows 2000, FileMaker Developer 6

Consider going to the source (the portal's data) file and building your field from there:

Your script would look something like this:

Go To Related Record (show)

Perform Script (external)

Set Field (EmailContent, relationship::gField1 & gField2)

External script:

Set Field (gField1, "")

Set Field (gField2, "")

Go To Record/Request (first)

Loop

Set Field (gField1, gField1 & Field1)

Set Field (gField2, gField2 & Field2)

Go To Record/Request (next, exit after last)

End Loop

  • Author

Thank you John

Works like a charm. Hope that I can return the favor someday.

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.