I have an Access 2010 Report There is a group for specific measures. Some measures contain sub-measures some don't The Report looks something similar to this
Sub-Measures
Adequately Controlled Blood Pressure
Sub-measures
Influenza Vaccination
Measure Diabetes
Sub-Measures
Diabetes Eye Exam
Diabetes HbA1c>9%
Diabetes LDL Screening
The database has a field to specify Whether the measure prints or not and I have the following code in the onformat event of the group header
In the design of the report the controls are set to the Else portion of the above If statement. When I run the report the first record prints the way I want. However, the every time the Else portion of the above if statement executes the label6.visible = true works and the me.text19.visible = true works. The Height does not change and the label21.top stays at 0. Am I missing something?Code:If abs(me.ckmeasureprint) = Abs(checked) Then me.groupheader2.Height = .17 me.label6.visible = False me.text19.visible = False me.label21.top = 0 Else me.groupheader2.height = .375 me.label6.visible = true me.text19.visible = true me.label21.top = .2083 End if