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.

Setting up a db field for multiple names

Featured Replies

  • Newbies

Hi, I would be very grateful for advice as to how I can set up a relational db that may need to capture multiple users.

I am setting up a research report with a table for staff members, (another staff_id table to be used as a pull down menu), and a research activity table.

Sometimes the research activity has more than one staff member involved. I have set up 6 fields based on staff_id and at the moment I am just duplicating the same name six times. If I change the name, based on a pull down menu, in one field it changes in all 6.

I need to be able to put up to 6 different staff names against any research activity and also be able to do a search on all the staff_id fields to capture any activity for any particular staff member.

I would be very grateful for some advice please?

Heather confused.gif

It looks like you have a many to many relationship between activity and staff, i.e., a staff member can work on one or more activites and an activity can have one or more staff members assigned. You need a join table between the 2 tables. This table would have at least the StaffID and the ActivityID fields. A portal in activity will show staff assigned. A portal in staff will show activities assigned.

  • Author
  • Newbies

Thank you so much Ralph,

I shall have to look up some more information about portals, is this a little like sub-forms in Access, where you have a main table at the top and related data (linked by relationsip) published underneath?

Kind regards

Heather

Sorry, I have never used Access, but that sounds like it may be similiar.

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.