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.

Adding Contacts in Database

Featured Replies

I'm trying to create a database where there are Contacts and the Tasks associated with each of them. Right now on my Tasks Layout there's a portal which will hopefully be able to display the contact name.

What I want to do is to go to the contacts layout, click on a button next to the particular contacts name and have it associated with the Task.

However what I have managed so far is for a new iteration of the contact to be created as well.

I've tried storing the contact name inside a new field and then transferring that to my portal but that hasn't worked either.

I hope I've explained my situation clearly, any suggestions?

If you want to relate Contacts to Tasks, then you need to store the ContactID in Tasks as a foreign key, "__kF_ContactID" is the style I use.

On Contacts, the button, "New Task" would:

Set Variable $ContactID to __kP_ContactID (its primary key)

Go to Layout Tasks

New Record

Set Field _kF_ContactID, $ContactID

Read up a bit on primary and foreign keys. You should not relate files using text fields such as names.

Edited by Guest

  • Author

Thanks!

For some reason I was trying to associate the contact with the task instead of the other way around. Sad thing is I had figured out that problem in another part of my database

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.