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

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

Recommended Posts

Posted

I'm running into an issue hiding a text object in a sub summary part when a summary field in the same part is empty or zero.

I created a little demo file to show my issue. I resorted to using Get Summary, but that still doesn't work in my solution (but it's much more complicated report there).

I'd appreciate feedback as to why I needed Get Summary.

tia,

Barbara

summaryhide.fmp12

Posted

It works when I use this:

GetSummary ( invoice_line::total_of_discount ; invoice_line::category ) <1

I had this problem before, and thought I was 'doing it wrong', so I used the  < 1.

Posted

Well, I realize that get summary is needed because these are subtotals. Still not working in my actual file. I'll try <1 rather than =0. 

Posted

Just an update. My issue was that the break field needs to be in the same table (even if it's an unstored calc) as the summary field. The hide calc = GetSummary ( summary_field; break_field) = 0. (The summary part is sorted by the break field).

hope this saves someone else the hours it cost me!

This topic is 2519 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.