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.

How to Define Relationship with Primary Key

Featured Replies

  • Newbies

I am trying to set up a database using a auto number as the primary key. I then want that primary key to be used in another database to link the information, but I don't know how to!

Can anyone help me?!

Thank you

  • Author
  • Newbies

I read that article, but it didn't answer my question.

I have a database with orders. All the vendor information is on one database with the primary key being the autonumber and then the completed information is in another.

I want to set it up so when you enter the completed information it shows up in the vendor info. I got it to do that but you have to know what the primary key is and enter it by hand you can just have it auto entered on both sides. Do you know how to do that?

If you are entering the information into an order from within a portal in your vendor file, provided that the option for "Allow creation of related records" in enabled for the relationship, then a new record will automatically be created in your related file, and its key field will automatically be set with the number from the key field in the current record of the vendor file.

Any other method you use to create new related records are going to necesssitate that the key field in your related file is set either by hand or by script.

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.