var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: If then statement or what?
I have a report/subreport setup as follows:
Text92 (same control source as Product Name)
Product Name (<- space ->) Subreport of all colors for each product
Sometimes the subreport goes into the next page. Text92 is supposed to be visible only when this happens, so someone helped me with the following code:
Subreport ReportHeader: Me.Text92.Visible = True
Subreport ReportFooter: Me.Text92.Visible = False
This works except for one glitch: Let's say the Product Name is "Love". The top of the page looks like this:
Love(<- space ->)Subreport of all colors for Love
This glitch happens at random, only at the top of certain pages. "Love" starts at the top of the page, does not continue from the preceding page, so Text92 should not be visible, but it is.
Is there an If-then statement I can use to correct this?
Thanks in advance!