Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5712 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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.

Posted

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

Posted

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:)

Posted (edited)

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
Posted

Hi John,

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

Lee

Posted

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

This topic is 5712 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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