Domino Code Fragment

Code Name*
DB-Lookup
Date*
04/29/2024
Source (or email address if you prefer)*
Rlatulippe@romac.com
IP address:.18.218.234.83
Description*
Takes value (KEY) and does a lookup. By setting the value of the DBLookup to the tempororary variable LookUp, the value can be checked for errors before attempting to set the field to the value.
Type*
Formula
Categories*
(Misc)
Implementation:
Required Client:
Server:
Limitations:
Comments:
Files/Graphics attachments (if applicable): Code:
CLASS := "Notes";
NOCACHE := "NoCache";
CACHE := "Cache";
SERVER := @Subset(@DbName; 1);
DATABASE := "general\\any.nsf";
VIEW := "($Lookup)";
KEY := keyword;
COLUMN := 7;
LookUp := @DbLookup(CLASS : CACHE; SERVER : DATABASE; VIEW; KEY; COLUMN);
@If(@IsError(LookUp); ""; LookUp)