Email:   
Home
In This Issue
EasyPrint
Click here for the RSS feed's XML code. This is not a browser URL.
THIS WEEK'S POWERTIP
Holding position while switching views
By Mick Moignard

This is a real old one that I remember from Notes 2 days, but recently I found it real useful, and, noticing that my Notes co-workers didn't know of it, figured that it was worth running out again.

The project I'm working on involved some very complex and quite convoluted LotusScript agents, and in them my co-worker and I have constructed a reasonably simple debug and progress reporting model, which involves the use of Notes Agent Logs, done to an agent log database -- using NotesLog.OpenNotesLog and the alog4.ntf template.

Problem was that each run of the agent might, in some cases, write 2000 debug and progress lines into the log, and it soon became hard to find any issues, even though lines written to report errors are marked with a big red X in the view. So I added a new view, same as the supplied one, but which only displayed errors. Simplified the process of looking up the debug log data no end. It was cool. Now here's the tip:

Let's say you look at an error, and then want to see it in context of the rest of the log around it. Doing that is easy; just hold down CTRL while you switch to the other view. If you hold CTRL while switching views, Notes retains document position as it opens the new view (if it can).

So the new view opens with the bar on the error line, directly in the centre of the screen, and shows you the error in context. It becomes real easy to switch back and forth to find each error, and then see it in relation to the other debug records around it.

Told you it was cool.

Mick Moignard has been working and traveling with Lotus Notes since Release 2.0 in 1991. Mick is a DominoPower Senior Technical Editor and a Principal CLP with Unipart Expert Practices, a Lotus Advanced Partner in the UK. If you want to discuss anything to do with this article, or indeed anything else to do with Notes and Domino, contact Mick at Mick_Moignard@unipart.co.uk. Unipart Expert Practices will also happily discuss any opportunities you may have with any Notes and Domino application development or infrastructure projects you need help with. Unipart Expert Practices can be found at http://www.unipartep.com.


ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
-- Advertisement --

AUTOMATE LOTUS NOTES USER ID MANAGEMENT
ID Manager 4.5 from HELP Software provides a new level of automaton for managing Lotus Notes IDs. ID Manager lets Lotus Notes administrators get out of the business of creating and managing user IDs. Use our ROI calculator to see how quickly ID Manager will pay for itself.

Learn more about HELP Software products
-- Advertisement --

How good are your Notes Reports?
Integra for Notes provides high value reporting and data analysis from Lotus Notes databases using Microsoft Word, Excel and PDF files.

  • Enhance traditional static reports with Excel data analysis, pivot tables, macros
  • Report from any Lotus Notes databases without changes to database design
  • Runs reports through a Lotus Notes client and a web browser
  • Enables Report scheduling or distribution by e-mail, printing or storing in a Notes database
  • Allows use of LotusScript for advanced data manipulation
Enables self service reporting capabilities to end-users.

Click For More Info.
Copyright © 1998-2008, ZATZ Publishing. All rights reserved worldwide.
Editor's Login