Lotus Notes FAQ Visit Our Sponsor!

How do you avoid error messages with DBLookup?

TempVar := @DbLookup();
@If(@IsError(TempVar); 'perform desired error response'; 'perform desired
action on TempVar')

TempVar is used to hold the results and will also hold the special "error" value for comparison.

Applies to Notes Versions: 3, 4, 4.5, 4.6, 5
Last Modified: September 25, 1997