I'm trying to do a lookup in the domino directory to grab the internetAddress field. I'm new at developing in notes, but this is what a friend suggested.
Subject: Trying to search using evalutate and @dblookup
You need to give it a value for ServerName and anything else not hard-coded into the formula. And you need to escape the quotes. In ths example the fieldname is hard coded, the rest are passed in as variables:
dim e as variant, server as string, database as string, view as string, key as string