Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Hide Summary Field in a Sub-Summary Part


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

Recommended Posts

  • Newbies
Posted (edited)

Hello all,

I'm having a devil of a time getting a set of merge-field text to hide. The text is from a Summary field, which I want to hide if the value is 0. 

I have it in the Sub-Summary part, and everything else is sorting and displaying correctly, but I can't figure out how to correctly get this object to hide.

I have a feeling it should involve something with GetSummary, but not familiar with using this function, and not finding the best examples of figure out online.

Thanks in advance for your helpful answers!

Edited by libertas3
Posted

It should hide like any other field.  What is your hide expression?

Can you show a screenshot, in layout mode, with the field selected and the hide expression showing.

Also, what type of field is it (number, date, text, etc.)

 

You many want to change the hide express to: isEmpty(YourTable::SummaryField)

  • Newbies
Posted

54027820_ScreenShot2018-06-10at5_19_23PM.thumb.png.f0ef191892281cd13de7c1bc77edaa95.pngThe object/mergefield I am trying to hide is a summary count of the attached calculation.

Posted

Hi Libertas, 

I sent you an email earlier today about completing your Profile, please take the time to read it now.

TIA

Lee

  • Newbies
Posted

I was able to get it squared away. 

GetSummary ( Case Log::Action_Defer_COUNT ; Case Log::CreationDate ) = 0

Looks like I needed set the breakField to be same as the sort field.

Posted

You learned how GetSummary works, that's good.

But still... Self = 0 doesn't appeal to you? 

  • Newbies
Posted

Sorry, already had that in place before your reply.

I am surprised to see the Self = 0 works when all the other variants do not. 

I have updated the UI to join the 2 objects when the 1 in question is above 0 (so now a total of 3 objects with the other by itself when not), so using the GetSummary methods works better for me in this case as I have another object which needs to be hidden not based on itself.

Posted

Once you start getting into multiple objects, it may be worth considering another approach: using a button bar to display the data. Whether you use a single button or multiple buttons that hide/show, the point of it is that the button label can be calculated. So a button bar is in effect a layout-level calculation engine.

Note that stand-alone (non-button bar) buttons do not have calculated labels.

This topic is 2354 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
×
×
  • Create New...

Important Information

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