I'm writing a report by using code (I have my reasons...). The problem I'm running into is that when I try to put a label in acGroupLevel1Header I get the error "Run Time Error '2148': The number you used to refer to the form or report section is invalid."
The code in question is:
It's in the right place, I just can't figure out how to define a report section correctly, apparently.
thx!
Q-
The code in question is:
Code:
Set ctlLabel2 = CreateReportControl(strReportName, acLabel, acGroupLevel1Header, , , 60, 60, 5100, 600)
It's in the right place, I just can't figure out how to define a report section correctly, apparently.
thx!
Q-