Does anyone can help me to have the instruction below to work? I have a subreport that I'm calling from a main report and would like to change the backcolor to vbYellow is the Me.Baselined is "y". I'm using Ms Office 2007 and
I try using Me.Report.Section(acDetai).backColor = vbYellow but it does not work if there are more than one detail line. I have the code below in the OnFormat_Detail Event.
If Me.Baselined = "Y" Then
'Reports!NeedDateScoreCard!NeedDateScoreCardDetail!!Detail.backColor = vbYellow
end if
Suggestions will be appreciated.
Luis
I try using Me.Report.Section(acDetai).backColor = vbYellow but it does not work if there are more than one detail line. I have the code below in the OnFormat_Detail Event.
If Me.Baselined = "Y" Then
'Reports!NeedDateScoreCard!NeedDateScoreCardDetail!!Detail.backColor = vbYellow
end if
Suggestions will be appreciated.
Luis