G
Guest
I am confused about the meaning of "Public" variable. My main report
declares "Public strStaffGrp As String" at the top of the module. My
subreport needs to compare strStaffGrp to a Detail field during formatting,
but I can't see strStaffGrp at that point. But the footer of the same
subreport, during printing, is able to change the content of an unbound field
according to the content of strStaffGrp -- i.e., the footer can see
strStaffGrp during printing.
What am I missing and how do I use strStaffGrp during Detail formatting?
Thanks.
declares "Public strStaffGrp As String" at the top of the module. My
subreport needs to compare strStaffGrp to a Detail field during formatting,
but I can't see strStaffGrp at that point. But the footer of the same
subreport, during printing, is able to change the content of an unbound field
according to the content of strStaffGrp -- i.e., the footer can see
strStaffGrp during printing.
What am I missing and how do I use strStaffGrp during Detail formatting?
Thanks.