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.

This was last published in November 2004

Dig Deeper on Lotus Notes Domino Formula Language

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchWindowsServer

Search400

  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...

SearchDataCenter

SearchExchange

SearchContentManagement

Close