Jump 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.

Go to Related record when duplicate

Featured Replies

Dear All,

I have a problem which I could not figure it out how to solve it.

I have a database named A with unique identification Iden_A (calculation (projecno,year) = 1202

I have a database named B with unique identification Iden_B (text) = 1202

Before I go from A to B , I set Iden_b = Iden_A then go to related record since in B there is no Iden_B = 1202 . Is it the correct way to do?

So when I duplicate a record in A ...and I duplicate record in B and when I change A , I can go from A to B which is a duplicate.

Let's say : I duplicate A ??? 1202 and change it to 1204 when I go to B, in B there is 1204 ( which is a duplicate of 1202 of ???

Sorry my English, If you don't understand I could explain more . For this problem, it take me few months but can not think of a solution with it.

If you have an example to look at, I really appreciate it.

Thanks All

I suggest that you prepare a script in file A which:

1. first determines what the unique ID for the new record will be and writes it to a global field, then

2. uses a "go to related record to locate the corresponding record in file B, then

3. calls an external script in File B which duplicates the related record and writes the new unique ID (sourced from the global field) to the Iden_B field in the new record in B.

4. Finally your script in File A can continue and duplicate the record in File A

5. The the script in File A can write the value from the global field to Iden_A

6. Finally, the global field value can be cleared.

Does that answer your question?

  • Author

I will try later

Thanks ...your idea gives me a huge hint for my problem.

  • Author

Dear Cobaltsky,

If i have a database A with unique identification Iden_A = 1020 then I go to related record in B , Iden_B = 1020

If i change Iden_A = 1029 , can it go to B , Iden_B =1029( which is same as 1020 of :

Please help me with this idea

I am really lost.

Thanks

Create an account or sign in to comment

Important Information

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

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.