TmpVar := @If(@IsError(@DbLookup()); ""; @DbLookup())
Where the second lookup uses the same criteria as the first.