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 record but create new record #

Featured Replies

I have a FM db that creates medical claims for insurance and I need to create a duplicate claim while creating a new record #. My record # is calculated based on the date, time record ######-######-######. How can I duplicate the record but generate a new record #?

Dear Kensey S.

Sounds easy, buy maybe I don't understand your question fully...

Say you've got three fields:

date -> auto inserted calculated value, status(currentdate)

time-> auto inserted calculated value, status(currenttime)

serialn

Ernst:

It should be the other way around. Kensey wants a new record ID when a record is duplicated.

So, you do want to use the auto-enter date, time & serial number in 3 separate fields and then combine them in one calculated field. Or, use scripts for record creation and duplication, so that you can manage the record numbers more securely with a Captkurt style unique ID.

Hey Bob and Kensey,

It was not totally clear to me what Kensey actually wants, I interpreted his task as trying to generate a serial number that has the original date and time of entry but a unique serialn

  • Author

This is Cpt Kurt's serial number generator. so I need to duplicate the current file and regenerate a new serial number. If i just duplicate the current record I will also have duplicate serial numbers.

  • Author

Sorry, duplicate the record.

Now how do I generae a new SN?

  • Author

Thanks. I think I figured it out.

I created a script using SetField and regenerated the SN and inserted the script into the other script that duplicated the file. Now I can duplicate the file and create a new SN for the duplicated file. I will have to restructure my claim file to have the line items within the actual record instead of linking to a lineItems file. Generating a new sn breaks the link to the original line items.

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.