I was searching for advice on how to conditionally print subreports and came upon thread 703-1287109 where dhookom suggested the following code to be placed in the On Format event of the section containing the subreports. Me.subreportName.Visible = (Me.SomeTextBox = True) I rewrote this as follows: Me.srptFileFolder.Visible = (Me.ProgramClaimTypeID = 2) When I ran this I got the following error. “Can’t find the macro ‘Me.’ The macro (or its macro group) doesn’t exist, or the macro is new but hasn’t been saved. Note that when you enter the macrogroupname.macroname syntax in an argument, you must specify the name the macro’s macro group was last saved under.”
I don’t understand the message, nor what I need to do correct the problem. I’m very new to writing code, any help would be appreciated.
I don’t understand the message, nor what I need to do correct the problem. I’m very new to writing code, any help would be appreciated.