Bruce Stemplewski
Bruce Stemplewski

Reputation: 1343

@DbLookup in Notes Client?

I have a computed field with the following formula:

@DbLookup("","vwFormTypesByFormTypeOrder","EXTCAB006","ReasonType");

It works fine in Domino Xpages but does not work in the Notes Client Xpages.

To get it to work in Notes Client Xpages, I need to specify the server and database name.

This is not how @Dblookup works in Notes forms.

Is this a bug in Xpages? Or at the very least a poorly documented function?

Upvotes: 1

Views: 552

Answers (1)

stwissel
stwissel

Reputation: 20384

Works as designed. @JS is only similar to @Formula and you need to specify the database in @JS. Simply use @DbName. That it works without @DbName in Domino is nice but undocumented (AFAIK). See also: http://xpageswiki.com/web/youatnotes/wiki-xpages.nsf/dx/Work_with_DbColumn_and_DbLookup

Upvotes: 5

Related Questions