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.

duplicating parent and all its children

Featured Replies

Hi im getting into a bit of a mess try to duplicating a parent and all its children.

In trying to duplicate all the children records, I have tried a loop.

Each time I create a duplicate, the records jump to the latest duplicated record so I cant move to the next record and duplicate again. I planned to apply the new ID number as each record is duplicated.

Any help would be greatly appreciated? thanks

It's easy with applescript, if the relation to child records is set up to auto-create.

Create a layout with ONLY the portal to child records on it.

Do not incude any calc fields in this portal.

No parent record fields.

Create this script:

Go to Layout [Line Items Only]

Perform applescript:

set dataList to current record

-- returns list

create new record with data dataList

Go to layout [original layout]

See attached example.

DupChildRecs.zip

  • Author

thanks bruce I will look at that

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.