Detect when User Request Form has been hidden in a report

CalicoCalico Member Posts: 31
Is it possible from within a report to detect if the User Request Form has been hidden at run-time? If the user has entered (or had the opportunity to enter) parameters, then I want to use those parameters in the report, but if the report is being run with USEREQUESTFORM := FALSE or REPORT.RUN(12345,FALSE...) then I want to retrieve the parameters from elsewhere. Unfortunately I cannot tell from inspecting the parameters because they are all Boolean.

Comments

  • AlbertvhAlbertvh Member Posts: 516
    From help
    Returns the current setting of the UseReqForm Property and sets this property to a new value.


    [IsUseRequestForm :=] USEREQUESTFORM([SetUseRequestForm])

    Hope this helps
  • CalicoCalico Member Posts: 31
    Thanks. I did try this before but got an unknown variable error for USEREQUESTFORM. After your post I had another look at it and realised of course that it should be CurrReport.USEREQUESTFORM. Now works fine.
Sign In or Register to comment.