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.

Contractor / Project DB

Featured Replies

  • Newbies

I'm a beginner with FM, so please bear with me.

I am trying to set up a seemingly simple DB that tracks contractors and projects. What I would like to do is being able to assign Contractor A to multiple projects. But on a second layout, I want to be able to select a project from a dropdown list and then automatically see all the contractors that have been assigned to this project.

For some reason I am not able to structure this correctly. I always end up with some circular reference.

Could someone please point me into the right direction?

Thank you!

Hi there you should check out Core2 CRM by Productive Computing.

http://www.core2crm.com/

  • Author
  • Newbies

Are you saying the problem is more complicated than I think?

Not necessarily, just if it already exists, may be more effective not to have to reinvent the wheel.

you may also check this out...

http://www.excelisys.com/web/exfiles/ex-biz-tracker.php

Allows you to look under the hood as it is fully unlocked.

  • Author
  • Newbies

I think I figured it out.

I set up three tables. One for contractors, one for projects and one for contractor_project_relationship.

I set up a portal in each of the first two tables and get the results as expected.

Now I have to figure out how to avoid empty entries in a portal when quitting out of a dropdown list...

You are correct, (I had a post but i lost it when my browser crashed) - glad you figured it out.

Also, I would make the portal so that it doesn't create records, then setup a button and Script the creation of records into the join table.

Click the button grabs the ID of Contractor into a variable goes to the join table creates a new record sets the Contractor ID, returns to the original table. Then you can select the row to assign it a project to it.

You could get a bit more, creative, have a global field that is a drop down list of projects then using triggers perform the script taking with you the Contractor ID and the Project ID setting data in the join table then returning and clearing out your global project drop down menu.

Stephen

  • Author
  • Newbies

stephen,

thank you. That's a great tip. Very elegant solution!

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.