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.
PROGRAMMING POWER
Creating dynamic reports for the Notes client that go beyond embedded views
By Kim Reddington

Have you ever come across an application in which you need to create reports where your users are interested in searching on many different search criteria, but they don't want to sort through a slew of data or views? Generally, users are just too busy to sort through data that is not pertinent to their current reporting needs. They need specific data now, and they only want to see documents important to them.

On top of it all, the data they need to see may change each time they request a report. Also, limiting the number of views within your database is something you should be taking into consideration to keep the database running at top speed, as well as making the user navigation more efficient. This article will walk you through some steps and some code to help you address these issues.

Let's get started
This article assumes a good working understanding of navigators, framesets, embedded views and experience with LotusScript. If your knowledge in these areas is limited, but you still wish to read on, then feel free. Try starting on a small report, working through the steps slowly, and referring to the Lotus Notes help documentation often.

The first step is to create a Notes Page or a Navigator. In my example, I chose to use a Page, which contains an Embedded Outline. The Outline consists of entries that point to different forms for each report type. In this example, I have a "Basic Report" and a "Totals Report." See Figure A to see my Page.

FIGURE A


Here is a sample Page containing the list of Reports. Roll over picture for a larger image.

The user's interface
The second step is to create a Form for each Report button that you created in the outline. Let's talk about the "Basic Report." See Figure B to see a sample "Basic Report" Form.

FIGURE B


Here is my "Basic Report" form in design mode. Roll over picture for a larger image.

At the top of the Form is a table containing the search criteria fields. In this example, the users would like the ability to view data based on the Status, Department, and a date range. The range will be selected as either Monthly, Quarterly, or by specific dates.

Below the criteria table are the user's action buttons. The main button is the "Run Report" button, which will contain an agent that runs the report. Your user should only see this button before your agent has run. You will be creating the agent in a little while. The second row of buttons (Refresh, Export, Print, and any other actions your users will need), will display after your agent has run. I'll talk about the "Run Report" and "Refresh" buttons again shortly.


1  ·  2  ·  3  ·  4  ·  Next »
Other articles you might like
Home > Lotus Technologies > LotusScript (64 articles)
   When the debugger won't debug hidden code that isn't hidden
   What to do if the LotusScript debugger won't single-step over code
   Little known traps about Lotus Notes fields
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 --

Teamstudio Edition 25 has shipped
It's finally here! Now that Teamstudio Edition 25 has shipped, listen to our latest Tool Time audio program to find out what's changed. Updates to all your favorite Teamstudio tools will be discussed.

Plus, you'll get an introduction to Teamstudio Undo (formerly known as Teamstudio Snapper).

Tap here to get started!

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