Is OwnerID a Number field, or a Text field?
Also, is this on a form or a report?
The Criteria is not correct. Ignoring the Left() and UCase() until you
get it working, try this if OwnerID is a Number field:
=DLookUp("[OwnerLastName]","tblOwnerInfo","[OwnerID] " =
Nz([tbOwnerID],0))
Or, for a Text field:
=DLookUp("[OwnerLastName]","tblOwnerInfo","[OwnerID] """ & =
[tbOwnerID] & """")
The Nz() fixes the problem if the tbOwnerID is blank so the 3rd argument
does not resolve to:
[OwnerID] =
For an explanation of the extra quotes, see:
http://allenbrowne.com/casu-17.html
If this is a report, you nee to test the HasData property of the report,
e.g.:
=IIf([HasData], DLookup(...
When OwnerLastName is blank I am getting an #Error can it just be
blank...Thanks Bob
=UCase(Left(Nz(DLookUp("[OwnerLastName]","tblOwnerInfo","[OwnerID] = "
& [tbOwnerID] & ""),""),3))