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.

Newbie: Finding all records with pictures

Featured Replies

  • Newbies

My database has two container fields, used to store pictures. How would I perform a find, or write a script to find all records with a picture loaded.

We're trying to export all these pictures, which sounds like it'll be a whole other can of worms...

Thanks.

The easiest way, that I know of. Would be to have a separate calculation field that is a 1 or a 0.

If( Container 1 = "" and Container 2 = ""; 0; 1)

Put that in it, then just run a search for 1's.

Exporting the pictures is going to require that you loop through them, then export field contents each time. What version of FileMaker are you using?

  • Author
  • Newbies

Zero,

Unfourtunately, no one thought to do that originally. Is there a way to do the find without a seperate field though? Something like ContainerIsNotEmpty(container1)

Also, this is for FM 4.1. Kinda dated...

Thanks

Unfourtunatley, FM does (to my knowledge) not allow you to search using Not Equals. If it did, you could find everything that ≠ "".

4.1 is way before my time, but when you add a calculation field doesn't it calculate the data for every record in the table?

Try a calculation of not IsEmpty(containerField), with a numeric result. Or loop through all records and omit the ones where IsEmpty(containerField).

  • Author
  • Newbies

Ok, that makes sense.

Thank you much.

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.