MMcDonal is correct. If BrandID is the primary key, it should never be null. If BrandID is not the primary key, then this may work; however, one questions why you're not searching using a primary key.
=Nz(DLookup("[BrandName]","Brand","[BrandID] = " & BrandID.Value), "No Brand")
Greg Serrano
Michigan Dept. of Environmental Quality, Air Quality Division
|