G
Guest
I am trying to open a Report and at the same time change a lable control
"lblControlHidingForm" on the report using the With Statement. Below is the
code I am using but the labels' caption is not displaying the text
"frmMainSwitchboard".
DoCmd.OpenReport "Company Directory", acViewPreview, , ""
With Reports("Company Directory")
.lblControlHidingForm = "frmMainSwitchboard"
End With
"lblControlHidingForm" on the report using the With Statement. Below is the
code I am using but the labels' caption is not displaying the text
"frmMainSwitchboard".
DoCmd.OpenReport "Company Directory", acViewPreview, , ""
With Reports("Company Directory")
.lblControlHidingForm = "frmMainSwitchboard"
End With