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.

Newbie - Relationship & Dropdown Help

Featured Replies

I have two tables - PROPERTY and MANAGER. Each contain a MANAGER_ID field and the two are related using these fields.

I also have a PROPERTY layout. It lists all the fields in the PROPERTY table ... one of which is MANAGER_ID.

I want the user to see a dropdown box with MANAGER_NAME (the contents of which should come from the MANAGER_NAME field in the MANAGER table).

Once selected this dropdown box would populated the MANAGER_ID field in the PROPERTY table with the MANAGER_ID corresponsing to the MANAGER_NAME choosen by the user.

I can't seems to make it work. I hope that wasn't too confusing. If so I can provide clarification. Thanks.

BeachDave

The value list "managers" should have the ID as the first field and the name as the second field and be set to show only the content of the second field.

With this done, the dropdown box will show the name of the managers but put the ID in the field.

A pop-up menu will show the name instead of an id after a selection is made but the field will still hold the id.

manager_property.zip

  • Author

Thanks Wim. I took a look at your file. Is this the only way to implement? It doesn't seem very elegant. Not your solution but the way FM handles this type of scenario. Is there any work around at all to make it so the user only sees the Name and not the ID? Thanks.

Like I said in my earlier post, if you use the pop-up value list the user never sees the ID, just the name. You wouldn't show the ID field like I have in the demo.

If you want to use the drop down then you basically overlay the manager::name field on top of the ID field so that when the make a selection the name hides the ID field.

  • Author

Got it. Thanks.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

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.