Home > Ask the Domino Experts > Application Development Questions & Answers > Error with @DBLookUp command: 'Entry not found in index'
Ask The Domino Expert: Questions & Answers
EMAIL THIS

Error with @DBLookUp command: 'Entry not found in index'

Brian Mahoney EXPERT RESPONSE FROM: Brian Mahoney

Pose a Question
Other Domino Categories
Meet all Domino Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 07 November 2004
I encountered an error when I used the @DBLookup command. My database is like an address book; it is for Web use and I'm going to view my form using Internet Explorer. My form function is to retrieve the mail file data based on the user's name. The first field in my form is used to retrieve the username and the second one, mailbox, is to retrieve the mail file information in the view "byUsername," which consists of two columns, Fullname and Mailfile.

The error I encountered reads, "Entry not found in Index." Only two entries were working properly, mine and my boss' name.

The syntax I used to retrieved the info are:

field CurrentUser:=@Name([CN];@username);

field Mailbox:=@dblookup("notes":
"noCache";@DBname;"byUsername";
CurrentUser;2;
[FailSilent]);

Can you please help me?


>
For clarity, I would use "" in place of the @Dbname in the mailbox formula. If your database is truly like an address book, then the Full name field may be multi-valued. Your view should have the first column, Full name, categorized so that each entry in the Full name field can be located and does not run together.

If this isn't the issue, check the view and see what is different about the two entries that do work from those that do not.

Do you have comments on this Ask the Expert Q&A? Let us know.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Application Development
Calculating results for a column in a Lotus Notes view
Do I use Formula or LotusScript to include a doclink to a Notes view?
'Customize this view' options are disabled in Lotus Notes databases
Give external users access to workflow-based Notes Domino applications
Setting the field value of a table
Troubleshooting non-delivery of agent notification e-mails
Exporting data from Microsoft Excel to Lotus Notes
How to send a form to a non-Lotus Notes email client
Manipulating the replication and form of profile documents
How to create an icon on an HTML page that opens the Lotus Notes database from a Lotus Notes client

Lotus Notes Domino Formula Language
View hidden fields on Lotus Notes/Domino forms
Case-insensitive @Unique version combines fields on Lotus Notes forms
Do I use Formula or LotusScript to include a doclink to a Notes view?
Top 10 Lotus Notes/Domino coding and development tips of 2008
Provide rich-text formatting via the Profile document and Formula
Top 10 Formula language tips
Using Formula language code to sort Lotus Notes messages by subject
How to create dynamic JavaScript in Notes Domino without formulas
Stop response documents from showing in a Lotus Notes form
Formula language button manages Deny Access list searches

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



Lotus Notes Domino on Blackberry and mobile devices
HomeTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersDomino IT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts