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.
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
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
Related Q&A from Brian Mahoney
Find out what types of calculations can be computed for a column in a Lotus Notes view and the best way to go about it with this expert response.continue reading
Find out why you can't use Formula language to include a doclink to a specific Lotus Notes view or database and need to use LotusScript instead.continue reading
Discover the reasons behind a Notes/Domino admistrator having trouble with disabled options in the "customize this view" section of his Lotus Notes ...continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.