Jump to content

"Hide Object When" Strange behaviour


This topic is 2936 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hi there,

 

I'm getting what seems to be some strange behaviour when I try to use the following calculation in the "Hide object When" option:

 

Products::type ≠ "Spare Parts" or Products::type ≠ "Repairs"

 

 

The Goal is to show the object if type contains either "Spare Parts" OR "Repairs" and hide it for any other option.

 

If I use either of the two options on their own the hide object works, When I use them together it permanently hides the object.ie: it is hidden even when type DOES equal "Spare Parts" or "Repairs"

 

Am I missing something really obvious here?

Link to comment
Share on other sites

Products::type ≠ "Spare Parts" or Products::type ≠ "Repairs"

Am I missing something really obvious here?

Every record is “not a OR not b” – "Spare Parts" ≠ "Repairs", and "Repairs" ≠ "Spare Parts" – but you want to hide your object on every record that is “not a AND not b”.

 

Use

Products::type ≠ "Spare Parts" AND Products::type ≠ "Repairs"

or reverse the logic as

NOT ( Products::type = "Spare Parts" OR Products::type = "Repairs" )
  • Like 2
Link to comment
Share on other sites

This topic is 2936 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.