Notes Ninjas Notes Ninjas
Lotus Notes hints, tips, error messages
Notes Address Book too Slow?

Hint Short Cut: Add this to your code & documentation to help you find this page.
http://www.notesninjas.com/#SlowNAB or http://www.notesninjas.com/A555F9/nn.nsf/ByAlias/SlowNAB




If like my users and I you find the Notes Name and Address book (NAB) picklist too slow to use on the Keyword fields' "Use Address Dialog for choices" option, try using this nice technique.

Have a keywords field called "AddName", choose type "Use formula for choices" with your list of users you would expect, maybe a lookup of previous users of the database stored in a view called AllUsers. Add a "USE FULL LIST" option.

temp:=@DbColumn("":"NoCache""""AllUsers"1);
temp2:=@If(@IsError(temp);""temp);
"
USE FULL LIST" : temp2

In the Input translation event of the field put this code:

@If(AddName = "USE FULL LIST" @Name([Abbreviate];@PickList([Name] : [Single])); AddName)

Lastly, tick the box "Refresh fields on keyword change" for the field.

This means that when the user selects the pull down, the list of expected names is there quickly, but if a new name is required then the user can select "USE FULL LIST" and then select a name from the slower but complete NAB list.

NB This does not work on the web.

 

 Jump to:     Notes Tips
    Lotus Notes Index 
  Register for Tips
Previous Lotus Notes Tip 
    Next Lotus Notes Tip
Your company logo here?
Adam Foster
Free Cash Making Web Site
Free Revenue Earning Blog Site
 Free Revenue Earning Newsletter Site   
Free Search Pages Free Web stats
Free Contact Us page
Cheap .com domain names
 Need a website or 
   Lotus Notes
  problem solved?
Adam Foster
Lotus Notes and Domino 6 Programming Bible by Brian Benz, Rocky Oliver
Covers all the programming techniques, concepts, and languages used with Notes and Domino, as well as the many new features of Domino 6 Thoroughly examines the Notes and Domino role with Java, XML, Web services, and other IBM products and technologies Provides extensive code and examples, many geared to the needs of administrators High-profile authors, known to their audience through conferences and articles Companion Web site shows example applications from the book running on a live Domino server and provides code download.
See at: Amazon.co.uk | Amazon.com |