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.

Creating New Records via Relationships

Featured Replies

Hi, I realize that this is a pretty stupid question but I've been staring at my database for a solid couple of days now and I've been frantically sifting through my Missing Manuel, so thank you in advance for any/all advice.

I am creating a database for a photography collector, I have one "Master" table that I call Photographs which contains a unique record for each photograph in the collection. I also have an "Artist/ Organization" table. Both have an "Artist/ Organization" field, which is what I am using to connect the two tables.

My goal is to be able to put an Artist's name in the "Artist/ Organization" field in the Photography table and have it automatically create a new record with that Artist's name in the corresponding field in the Artist/ Organization table. I have checked the boxes "create new records via this relationship" on the side of "Artist/ Organization" but it doesn't seem to be working. Am I missing something?

Again, thank you in advance for all of your help and please let me know if you have any questions.

Did you need a One to Many relationship ( One Artist can have many Photographs ) ?

  • Author

Yes, I want a One to Many

On my Artist/ Organization table I have a portal that lists all of the photographs attributed to a particular Artist (which works fine if I manually put in the artist's name in the A/O table)

Thanks, hope this is helpful.

I have checked the boxes "create new records via this relationship" on the side of "Artist/ Organization" but it doesn't seem to be working.

The box to check must be on the side of Photographs

The reason why no record is created in the Artists table is (I think) that you are not entering the name into a field in the Artists table. However, the way you are going about this is flawed on two counts:

1. Your relationship should be based on ArtistID (an auto-entered serial number field in the Artists table) rather than on a name. Names change, get misspelled, etc.

2. In your proposed method, if you enter the artist's name as "Adam", a new record will be created in the Artists table - even if a record for Adam already exists.

See also:

http://fmforums.com/forum/index.php?showtopic=76385&view=findpost&p=359668

  • Author

Hmm, I tried that, which also didn't work, although I don't want to create a record in the Photographs Table, just the A/O table.

  • Author

Thanks for the advice, potentially I may need to spend some time restructuring the database a bit to make it run more smoothly...

Maybe I'll add a button that would move me to the A/O table to create a new record or something of that ilk...

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.