How can I make a report display only one report header based on criteria... If the account number is 387 or 390 then display the the building header, else display the account header? Thanks
Use the 'on format' event of the report or page header
Private Sub PageHeader_Format(Cancel As Integer, FormatCount As Integer)
if [accountnumber] = 387 or [accountnumber]= 390 then
me.accountheader.visible = true
me.buildingheader.visible = false
else
me.accountheader.visible = false
me.buildingheader.visible = true
End Sub
Mike Rohde
rohdem@marshallengines.com
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.