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
Beginning Java Web Services by Andre Tost, Henry Andre Bequet, Meeraj Kunnumpurath, Sean Rhody
Web services are no longer a nascent technology in the programming industry; every major software vendor is rolling out web services-related APIs and products. Today Java developers are successfully adopting web services as the latest technology in application development in order to enable...
See at: Amazon.co.uk | Amazon.com |