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.

combine record information from radio button field

Featured Replies

I've got a field formatted as a radio button which indicates which day of the week a student is registered for a class. Each class is registered separately in its own record. I'm trying to find to show all of the days a student has registered for a class. This database has a class table, student table and a separate table to hold registration records. Any help would be appreciated!

Can you clarify a few things:

Which table is this "day of the week" field?

Are you trying to (1. find registrations for a particular day, (2. find students that have a certain number of days accounted for, or (3. find students and show all their registrations in a list.

  • Author

The day of the week field originates in the class database, but it also appears on each registration record through a relationship-based calculation . What I want to be able to do is quickly see which days a kids is registered in a class. I've got several reports, based on the student table, which show contact information, medical info etc.. We want to add a field which shows registered class days. Clearer?

An easy way would be to show all classes for a Student in a Portal of Registrations. Unfortunately, this may not be that easy for the user to visually scan though the portal to see which days have registrations.

Another method would be to add a relationship to Registration for each Student-Day of Week combination. In this way, you could have a calc show which days have Registrations, or simply show a portal of Registrations for each day. These relationships would require a Day of Week field in Registration. This field would have to be stored and indexed so it could be used as a match field in these relationships. It would have an auto-enter calc or lookup defined to pull the Day of Week from the Class table.

Then in the Student table, define a global field to hold the parent key for each Day of Week (gDayMonday, gDayTuesday, etc.) Populate them with the correct Day of Week text or number (whichever you're using.)

You would need to add an additional table occurence of Registration for each day of week. The relationships would then look like this:

Student <-> Registrations Monday =

Student::StudentID = Registrations Monday::StudentID

AND Student::gDayMonday = Registrations Monday::Day of Week

Student <-> Registrations Tuesday =

Student::StudentID = Registrations Tuesday::StudentID

AND Student::gDayTuesday = Registrations Tuesday::Day of Week

etc.

Another method would be to use your exiting relationship between Student and Registration in a value list definition. The value list would show the related Day of Weeks from Registration. Then the value list could be used in a calc:

RegisteredDays (calculation, text result) = valuelistitems(get(filename); "Registration Days")

Either method will probably require a little tweeking to get the result text to look how you want. For example, the value list method produces an alphabetical return-separated list of Day of Weeks.

  • Author

Thanks! You've given me a couple of ideas to try! I love this group!

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.