Q
Problem solve Get help with specific problems with your technologies, process and projects.

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

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.

Dig Deeper on Lotus Notes Domino Formula Language

SearchWindowsServer

Search400

  • Favorite iSeries cheat sheets

    Here you'll find a collection of valuable cheat sheets gathered from across the iSeries/Search400.com community. These cheat ...

  • HTML cheat sheet

    This is a really cool cheat sheet if you're looking to learn more about HTML. You'll find just about everything you every wanted ...

  • Carol Woodbury: Security

    Carol Woodbury

SearchDataCenter

SearchContentManagement

Close