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.

Duplicate a Record WITH portals

Featured Replies

i have three databases:

- RM_Songs

- RM_Catalog (CD's)

- RM_Catalog Items

Each record in RM_Catalog contains a CD # and tracklist. The tracklist is made up of 20 or less portal records that are typed up in RM_Catalog...however, the portal records are created and store in RM_Catalog Items.

Each RM_Catalog Item record contains a unique RM_Songs ID and RM_Catalog ID and tracklist # etc.

WHAT I WANT TO DO BUT CANT DO: I want to create a script where I can dupliate a record in RM_Catalog (a CD) but also duplicate all of the portal records (tracklist) along with it. How do I do this?

Please help! Thanks;)

  • Author

Thanks...but that link is dead:(

Not by my testing. Well, it's on the FM Advisor Website, and is article 18694.

Basically, the technique is to:

1. Start at the parent record.

2. Create a new record in a new window and capture its ID "ID_New". Close that window so that you're back at the parent record.

2. Go to related children records. (if any, use if isvalid()).

3. Loop thru the children.

a) Duplicate the child, assign its parent "ID_New" and then omit it, returning to the first child.

:) Omit the first child.

c) Next child

d) Exit loop when found count = 0, you're out of children to duplicate.

4. Go to the new parent record "ID_New".

Edited by Guest

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.