Domino Code Fragment

Code Name*
Interdatabase Access (@Function Formulas)
Date*
04/28/2024
Source (or email address if you prefer)*
Rlatulippe@romac.com
IP address:.18.218.129.100
Description*
Technique used to build generic interdatabase access using the formula language. Takes into consideration for local no path.
Type*
Formula
Categories*
(Misc)
Implementation:
Required Client:
Server:
Limitations:
Comments:
Any one of the database specific paths above can now be used in an @DBLookup or @PickList or any other @Function that takes a database filepath argument.
Files/Graphics attachments (if applicable): Code:
DBName :=@Text(@DbName);
server := @Subset(DBName; 1);
dbfile := @LeftBack(@Subset(DBName;-1);"\\") + "\\CACMSG.NSF";
@If(@LeftBack(@Subset(DBName;-1);"\\") = ""; @Command([FileOpenDatabase]; server:"CACMSG.NSF"; "2. Inbox");_

@Command([FileOpenDatabase]; server:dbfile; "2. Inbox"))