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.

copying portal data

Featured Replies

I need to export telephone numbers contained in a portal from a related table, Telephone, along with the rest of the data for each given record in the main table, Raedbase; since the Export function does not provide for this, I have decided to copy data from each portal row into a series of fields, T1, T2, etc. so that these field contents can then be exported to a .csv file.

I am building a script to copy the telephone::telephone for each portal row to T1, T2, ..., T8 (since the maximum number of rows holding data in any one record is never higher than 8) -- first portal row, telephone, would be copied to T1, next portal row, telephone, would be copied to T2, and so on.

FileMaker 10 Help states: "When a related field in a portal is selected, you can use this step to move to the same field in another portal row. For example, if the third field in the second portal row is selected, Go to Portal Row [Next] goes to the third field in the third portal row."

However, the following script is not copying data from the "next" row -- its pasting Telephone::Telephone from the first row to T2 and I do not understand why:

Go to Record/Request/Page [First]

Go to Portal Row [select; First]

Copy [select, Telephone::Telephone]

Paste [select; Raedbase::T1]

Go to Portal Row [select; Next]

Copy [select, Telephone::Telephone]

Paste [select; Raedbase::T2]

Further, there is another portal on this layout, I would also like to know how to run a similar script there as well and do not know how to delineate the two portals.

Any help here would be greatly appreciated.

You should really go to the related child records and export those.

  • Author

OK -- that was my first thought but I know of a schema to merge the parent and child exports by record ID since the one-to-many were not consistent for each record; any ideas?

Thanks:)

See this other post that is going on right now. You should sub-summarize by the foreign ID. This will group the child information under each parent information section.

http://www.fmforums.com/forum/showtopic.php?tid/202545

Edited by Guest
updated link

Hi John,

Your link didn't work, it looks to be incomplete. Try using the URL Link button instead.

Lee

lol. it didnt work anymore because I merged the topic into the other... lmao.

Good Job!

:goodpost:

  • Author

What's the link to the merged topic, please:)

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.