PLATEFORME - Installation & Deployment (EN) > Updating Virtual Reports > Virtual reports without Report Edition
3. Virtual reports without Report Edition
3.1. Updating the Property Page
The MetaPropertyPage or Macro which defines the viewer control must be updated. It contains this kind of definition:
myReport=Item(~H(IbRVABTP9B[MyReportMacro) ,From(Map) ,Control(Viewer),Param(DirectMacro)
The new Report control must be used instead of Viewer, so the previous line should be changed to:
myReport=Item(~H(IbRVABTP9B[MyReportMacro) ,From(Map) ,Control(Report) ,Param(DirectMacro)
Warning: MyReportMacro must be a Macro and not an HTMLFormatter, it is therefore mandatory to define a DirectMacro. If you have defined an HTMLFormatter, you can use its existing macro.
3.2. Updating the macro
Proceed as described section 2.2 Updating the macro.