Search DominoPower's 11,441 Lotus-related article archive 
Home
EasyPrint
News details Click here for the RSS feed's XML code. This is not a browser URL.
Articles-only Click here for the RSS feed's XML code. This is not a browser URL.
Twitter Feed Click here for the Twitter feed.
Running Crystal Reports Web Component Server with Domino R5 via CGI (continued)

The records that appear in my report will only contain those values with a factory equal to Virginia.

One nice feature of Crystal Reports is the ability to create parameter fields. These are user prompts that allow users to respond to prompts by the server in order to select exactly what data will appear in a report at runtime. Parameter fields can be used in formulas, selection formulas, and sub reports. The Crystal Web Server allows you to pass these parameter fields via the Prompt# command.

When using Prompt#, you must remember that values for parameterized fields are assigned in the order they exist in the report. You have the ability to pass more than one parameter field at runtime.

Parameter fields can be very handy when building a Domino-based reporting solution because you can create a front end to gather the query from users and then pass this via a URL command to generate the report at runtime or on refresh. The syntax is as follows:

PROMPT#=<parameter_field_values>.

So if I had a parameter field on my report that corresponded to the country, the syntax would be: Prompt0=USA.

You can also specify whether the end-user should be prompted for parameter values on refresh of the report by using:

PromptOnRefresh=<value>.

If you use PromptOnRefresh=1, the report will automatically refresh and prompt for parameter values.

Choosing a viewer
In part one of this series, I covered the various viewers supported by the Crystal 8 Reports Server. If you're designing a reporting solution for an environment that might require restricting which viewer is used to generate reports by end-users, you can do so with the INIT Command.

If you don't specify a viewer using this command, the Web Component Server auto-detects the browser being used and provides a viewer for it.

Your choices for viewers within INIT are as follows:

Control Viewer
Nav_plugin Netscape Plug In
Actx Active X
html_frame HTML with frames
html_page Standard HTML
java_plugin Java via Java Plug In
Java Java via JVM

For example, if I were to specify the Active X viewer be used as the Smart Viewer, I would pass: Init=actx.

Exporting reports
Crystal Reports 8 supports a number of export formats within both the standard reports interface and the Web Server. This is a very useful feature, because users often want the option of exporting data to another format. The Crystal Web Reports server can export data to the following formats:

  • HTML 4.0;
  • HTML 3.2;
  • Excel 5.0 (.xls);
  • Excel 5.0 Extended (.xls);
  • Word Document (.doc);
  • Adobe Acrobat (.pdf);
  • Seagate Crystal Reports.

You can configure the browser to automatically launch the corresponding application after the export completes.

The syntax for the CMD and EXPORT_FMT commands is as follows:


« Previous  ·  1  ·  2  ·  3  ·  4  ·  5  ·  Next »
Other articles you might like
Home > Reviews and previews (86 articles)
   Managing Notes deployments with Teamstudio Build Manager
   Using Balsamiq Mockups to create low-fidelity prototypes
   Exploring VMWare Workstation
Home > Lotus Technologies > Older Releases > R5 (19 articles)
   More archive fun
   A Notes release in Dilbert-land
   Tips for being more productive with Notes R5 mail
Get Weekly Email Updates
Subscribe to our regular weekly email newsletter. It's packed with tips, reviews, deep analysis, and the latest news.
 
Recent DominoPower Articles
Application development, William Shatner, and the origin of the universe
Learn Domino Designer 8.5 for free
The (near) future of Sametime, Quickr, Connections, and Symphony
Inside the IBM Innovations lab
Lotusphere 2010: Hot fixes and cool news for Notes, Domino, and LotusLive
Lotusphere 2010: mobility and collaboration
2010: A Lotusphere of change
Latest Lotus Headlines
Xpages not loading? JVM errors? - Solution
How to implement an iCalendar feed into your Notes calendar with XPages
DWA Hotfixes for Domino 8.5.1FP1 - A Gotcha
IBM Adds DB2 to Lotus Foundations SMB Package
SNTT : XPages onclick Ghosts in the machine
Ports used by Lotus Sametime 8.5 servers
Exploring a Domino Date Bug
>> Read all the news
More from the ZATZ journals
Computing Unplugged: The iPad defenders have spoken
David Gewirtz Online: CNN commentary and analysis
OutlookPower: More about disappearing text
-- Advertisement --

Learn Notes and Domino 8 at your place and pace!
Learn Notes and Domino in your office and/or home! TLCC's highly acclaimed distance learning courses for users, developers, and admins will enhance your career and your resume.

The many included activities and demos will make you a pro! Expert instructor help is a click away.

Click here to try a FREE demo course!!

-- Advertisement --

Struggling with exporting Notes data to spreadsheets? No More!
Try IntelliPRINT, The world's leading Reporting, Dashboards, and Analysis solution for Notes & Domino

  • Don't spend unproductive time maintaining different versions of the same spreadsheet
  • Preserve data integrity and security in multi-user environments
  • Create reports in minutes INSIDE Notes
  • Get freedom from iterative report requests, deliver self-serve capabilities

Experience Reporting, Dashboards, and Analysis INSIDE Notes.

Try IntelliPRINT NOW!

ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
Copyright © 1998-2010, ZATZ Publishing. All rights reserved worldwide.
Editor's Login