View Enhancements

Chapter Overview

This chapter provides a number of LotusScript and Formula Language routines associated with views. These enhancements can be incorporated into almost any Lotus Notes database. Each customization is self-contained and designed to run independently. This enables you to copy the code into any existing application and implement it with little to no modification.

The intent of this chapter is to provide common customizations that can be added to any database application. However, when adding a LotusScript enhancement to an existing application, you may need to replace field names or search strings or remove duplicate code linessuch as declaration (DIM) statements.

Customizations include the following:

  • Create a new document by double-clicking on a calendar date
  • Display documents in a view by year and month
  • Display an icon in the view
  • Retrieve all views in a database
  • Retrieve all columns in a database
  • Retrieve all columns for each view in the database
  • Manage conflict documents
  • Manage applications with multiple forms
  • Disable the ability to paste documents into a view

This section covers enhancements specifically designed for Lotus Notes views. It includes enhancements written in both LotusScript and Formula Language.

A working example of all customizations can be found in the developer's toolbox in the BookCodeLibrary.NSF database. See Appendix A for additional information.

Категории