Integra for Notes Banner
  QuickReports Integra4Notes Integra Family of Products



Can I run Quick Reports on documents in an embedded view?

Yes, you can start Quick Reports using the columns in an embedded view. This is done by creating an action button to call Integra from inside the design element containing your embedded view (e.g. a form).

Paste the following code inside your action button:

olrid := @Environment("IntegraReplicaID");
srv := @Subset(@DbName;1);

@SetEnvironment("IntegraCurrentSrv";srv);
@SetEnvironment("IntegraCurrentDB";@Subset(@DbName;-1));
@SetEnvironment("IntegraUiView";"<ENTER YOUR VIEW NAME HERE>");
@SetEnvironment("IntegraUiDocID";@Text(@DocumentUniqueID));

@If(olrid="";
@Return(
@Prompt([Ok];"Integra Runtime";
"Integra not installed!")
);
@PostedCommand([FileOpenDBRepID];
olrid;srv;"Structure Profiles";"";1;0)
);

@PostedCommand([OpenFrameset];"Integra Runtime");
@PostedCommand([OpenView];"Structure Profiles";"";0);
@PostedCommand([FileCloseWindow]);
@PostedCommand([FileCloseWindow])

The text "<ENTER YOUR VIEW NAME HERE>" needs to be replaced with the name of the embedded view you would like Quick Reports to run on.

When clicking on the action button, the Integra profile list dialog will be displayed (as when you call it from the Integra smarticon), but will run on the view you pre-defined. Once the Integra profile list dialog is displayed, clicking on the Quick Reports button will display the columns found in the embedded view.

You must select the option “All Documents in View” in Step 3 of Quick Reports. If your embedded view makes use of the option “Show Single Category”, then you also need to enter a Filter condition so that only the documents under the category displayed are exported.

You may want to use the options in Step 4 of Quick Reports "Export Notes documents for the FIRST CATEGORY ONLY" or "Export Flat Categories".

.




FAQ# 0132
Bookmark and Share

 
QUICK LINKS
 
 

 

  © Shireburn Software Ltd. 2008 - 2024