bcooney Posted December 21, 2017 Posted December 21, 2017 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
Steve Martino Posted December 22, 2017 Posted December 22, 2017 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.
bcooney Posted December 22, 2017 Author Posted December 22, 2017 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.
bcooney Posted December 22, 2017 Author Posted December 22, 2017 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!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now