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.

Creating Client Ids For Contact Database

Featured Replies

  • Newbies

Hello all,

I've been building a contact database for my company, based off of the "Contact Management" Starter Solution in FM10 for awhile now. We've got just under 6000 contacts, many who share the same company as other contacts within the database. Currently, I'm trying to generate four or five digit Client ID's for each company represented. Is there a way to create a script, so that every contact with the same company gets the same ID code, but if the "Company" field is different, a different ID is generated?

Hope that makes sense, please let me know if any clarification is needed. Thanks for reading!

So are you trying to keep the many contacts attached to one company?

  • Author
  • Newbies

Yes, I want to keep all contacts still attached to their respective companies.

  • 3 weeks later...

Is there a way to create a script, so that every contact with the same company gets the same ID code, but if the "Company" field is different, a different ID is generated?

If you are planing on basing this script on exact match of "Company" field, then why do you need the ID code to be the same? You could just base your relationship on the "Company" field.

If you are planing on basing this script on exact match of "Company" field, then why do you need the ID code to be the same? You could just base your relationship on the "Company" field.

Companies, like people, change names. Serial ID, PK and FK, is the way to go.

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.