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.

Featured Replies

  • Newbies

I'm sure there is a really obvious answer to this but help me out if you can.

I had been trying to get a "hide object when" object working for a database I am creating and was having issues so I decided to set up a simple test and I still don't understand why I am getting the following result:

I have two squares shapes (one blue and one red) and two circle shapes (one blue and one red).

I have two fields, shape and colour, with pop up menus covering the square, circle and blue, red options.

If I use the following with 'hide object when':
Test::Colour  =  "Red"
and  
Test::Shape   =  "Circle"

everything works fine. Three objects are displayed and the Red Circle hidden.

However if I want to reverse it, revealing only the Red Circle using the following:
Test::Colour    "Red"
and  
Test::Shape  
 "Circle"
everything but the Blue Square is still visible.

What am I missing here.

Thanks for the help.

 

Screen Shot 2015-06-15 at 1.07.46 pm.png

If I'm understanding you correctly it should be a really simple fix. You just need to change your "and" to an "or". It sounds backwards but if you really think about it, it makes sense.

test::Colour  ≠ "Red" 
or 
test::Shape ≠ "Circle"

or if this makes more sense to you, you can do the following which is a little easier to understand in my opinion.

not (test::Colour  = "Red" and test::Shape = "Circle")

 

  • Author
  • Newbies

Thanks voltron2112.

When you say it out loud it makes total sense!

Another step towards filemaker domination.

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.