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.

the database is changing fields at will!

Featured Replies

help! my databases have taken on a life of their own. I have a simple relationship set up between two tables: projects and contacts. One project can have many contacts involved and one contact can be involved in many projects.

I have a portal in each table that displays the related records from each table. the key field is project name. in the contact table, when i indicate in the related field that the contact is involved in a specific project, then he magically shows up in the portal in the projects table. great so far.

BUT, when i go to a second contact and indicate in the related field that he is involved in the same project as the first contact, all the information transfers to the portal except all of a sudden, the second contact's first and last name change to the first contact's name. If I catch the change and make the correction, the the original names stick, but if I don't, then i have a bunch of contacts with the same first and last name, but different phone, email, etc. PLEASE help me before my databases devolve.

Also, how do I build the relationship so that a contact can be involved in many projects and show up in all the portals in the project table? for example, let's say i have 3 slots in a contact's record for being involved in a project: related project 1, related project 2 related project 3. I want it so that if any of these fields match the "project name" field in the projects table, that the contact info shows up in the portal. Right now, when i try to make it so that project name equals related project 1 and related project 2, no records show up in the portal because those criteria are never met as a perfect match. i feel like i'm talking in circles now. can someone help me sort myself out?

thanks

First of all, showing data in a portal does not "transfer" data at all. It only displays related data.

Your relational model is not correct. You can't have a many-to-many directly between two tables. You need an intermediate table. Call it "assignments". It only needs 3 fields:

- assignement ID

- contactID

- projectID

It's related to the Projects table by the projectID and to the contact table by the contactID. Each time you want to add a contact to a project you add a record to that table.

In the Projects layout the portal should show the related data from the assignments table.

  • Author

but what if I want to display more than just a contact ID in the projects table portal? I want the user to be able to see first name, last name, etc. thorough information about the contacts involved in the project.

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.