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.

relationship problem - two records from one entry

Featured Replies

I'm posting this again, since I'm not able to work it out so far.

I've got three files - the first (EVENTS) is the main data entry file. The second file ALLNAMES is just a repository for the names (a one to many line items file - and won't be accessed by user) and the third file STAFFNAMES (to be accessed infrequently) is a selection of staff-only names.

Data to be entered in EVENTS is name and type of person (ie: staff or other). When entering data in EVENTS the entry of names creates (via a relationship EVENTS ID - ALLNAMES ID) individual records in the ALLNAMES file for each name. That's all fine so far no probs.

When I enter a person type in EVENTS as 'other' it should only create a new record in ALLNAMES. But when I enter the person type in EVENTS as 'staff' I want to create a new record in ALLNAMES and a new record in STAFFNAMES as well. And this need to happen without any user access to the other files. That's where I come unstuck.

Have I made it clear? Is it possible?

I know I could do an import of 'staff' records from ALLNAMES each time the STAFFNAMES file is accessed, but I would like to do it without that if possible.

Any suggestions?

I don't get the reason why you want to separate Allnames and Staffnames. It looks like it is no good db architecture.

Just create a table Names with a flag field to identify staff members from other people.

This way you can use only one relationship and one portal to enter data in Events, but it remains easy to break your related records behind the scenes using 2 other relationships based on the value of the flag field.

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.