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.

Dropdown list in a portal

Featured Replies

I have a STUDENTS (parent), and SPORTS (child) table.  The relationship id STUDENTS_ID in the STUDENTS table, to STUDENTS_FK in the SPORTS table.

I have a SPORTS portal in the STUDENTS table showing the sport name.  Can I make the sport field in the portal a dropdown list to select various sporta for various students??

Thanks.

2 hours ago, Greg58 said:

Can I make the sport field in the portal a dropdown list

Why not?

  • Author

The problem I have is probably a very basic error.  I can create the dropdown list in the portal OK, but when I add a second student and select a sport it created a duplicate of that sport in the sport table!!  I have attached the file.  Thanks for any advice.

StudentSportForumQuestion.fmp12

You should have three tables. 
students<- StudentSports-> sports 

The portal should be based on the join table, Studentsports.  Fields in the join table are studentid, sportid and ant other attributes of this combo. Level?  

I don't detect any problem in your file. When you add tennis to both Greg and James, you will have two records in the Sports table with "Tennis" in the sport field: one with student_ID_FK = 1 (Greg) and the other with student_ID_FK = 2 (James). That is as it should be. Your Sport table is actually a join table between Student and a table where each sport would be a unique record - a table which you don't have and don't really need (unless you have something to record about each sport as such, other than its name).

 

 

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.