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.

Adding a new table with relationship

Featured Replies

Hi All,

I have a database with:

Customers, Invoices Invoice Line Items,History, History LineItems to which I added "Vendors" (or Brokers).

What I need to know is, what kind of relationship should connect the Vendors (Cllaborateurs) on Fig. Contracts DB and the Contacts table.

Do I have to implement a Vendor Line Item.

Sorry I'm kind of new here and I don't really get the relationship thing.

Attached :( Contracts DB

Contracts_DB.jpg

That isn't really enough information. You must have had something in mind when adding this table. What exactly are you trying to do?

I suggest you go through the process of determining the relationship between Contact and Vendor.

Can a Contact have more than one Vendor?

Can a Vendor have more than one Contact?

If (and only if) the answer is yes to both questions then it is a many-to-many relationship and you'll need a join table between them. Otherwise it's a one-to-many relationship.

If the answer is no to both then it's a one-to-one relationship and a separate table is not necessary.

I would not use name as the match field between the contact and vendor tables. Use a VendorID based on a serial number.

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.