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.

Pictures in a portal

Featured Replies

  • Newbies

Hi Forum,

I hope I am posting in the good section. I am a newbie in Filemaker Pro and am I doing my very first database.

In the database (people) I have for every record a picture of the person. But people can have several pictures and I would like to be able to choose witch one from the list would be on the first page.

Ex: In a data base of models, there is the main record of the model with all the details and here picture. Then there is on an other layout all her pictures. I would like to be able to choose from all her pictures the one that would be showed on the main layout.

Any ideas how to do this?

Thanks for any help

Steven

Assuming you have a separate table (or file) to hold the images then you should make a RELATIONSHIP between PEOPLE and IMAGES. You will need a field in PEOPLE - say PERSON_ID - in both tables and use that as the link between the two tables. Make sure it's set to AUTO-ENTER with a SERIAL NUMBER that increments by 1 each time. That way you guarantee a unique record in PEOPLE.

You will need a PORTAL (based on the relationship described) to enter new images for each person. A simple button to use the SET FIELD function can then copy the PORTAL image into the main image in PEOPLE.

HTH

Hey Ideal,

I was with you until that last step.

Rather than moving that image around, it's more efficient to grab the ID of the Image record and put that into a SelectedImageID field in the Person table. You would then have another relationship between Person::SelectedImageID adn Image::ImageID, and use that to put the related Image field on the layout.

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.