I have a report that has a parameter for report type: Summary, Detail, Executive. Depending on the user input for the report type. Some AcFrame (all the controls in the content) in the group will be hidden.
I am currently using this code in the acFrame:
Function ShowWhenViewing( ) As Boolean
ShowWhenViewing = Super::ShowWhenViewing( )
If ReportType <> "Executive" then
ShowWhenViewing = False
End If
End Function
The problem I have is that when this function is called there are no values for any parameter including the global variable for the report type that the user fills in. So how can I retrieve the parameter value in the code above. Or is there a better way of hiding acFrame?
Thanks all in advance!
I am currently using this code in the acFrame:
Function ShowWhenViewing( ) As Boolean
ShowWhenViewing = Super::ShowWhenViewing( )
If ReportType <> "Executive" then
ShowWhenViewing = False
End If
End Function
The problem I have is that when this function is called there are no values for any parameter including the global variable for the report type that the user fills in. So how can I retrieve the parameter value in the code above. Or is there a better way of hiding acFrame?
Thanks all in advance!