1 Reply Latest reply on Jan 7, 2013 3:01 PM by philmodjunk

    How to add multiple photos to a container

    JeremyRussell

      Title

      How to add multiple photos to a container

      Post

           I want to add multiple photos to a container for the same log, however it seems you can't do this. I read a previous post that describes a way around this, howevr don't understand how to do this ...

           You can only place one object in a Container field.  If you want multiple pictures, you may want to consider creating a separate table for pictures, link the tables through some "key" field, and then use a portal to insert and display all pictures for the current record.

           If someone could please explain or even send an example file so I can follow on my own.

           Cheers,

           Jeremy

        • 1. Re: How to add multiple photos to a container
          philmodjunk

               Do you know how to work with portals? This is a basic layout object frequently used to manage multiple related records so it is used in nearly every FileMaker database.

               Say you are managing photos of your products and may have from 0 to many photos of each product on file.

               You might have this relationship:

               Products------<Photos

               Products::__pkProductID = Photos::_fkProductID

               See the first post of this thread: Common Forum Relationship and Field Notations Explained if this notation is unfamiliar.

               Then you'd define your container field in Photos and you could use a portal to Photos on a Products layout to insert as many photos as you need for each given product. This approach is good for inserting new photos a few at a time. Other methods may be needed to load Photos with your images if you have a large folder of images that you want to import into your database all in one batch operation.