Below expression is not working
Function FindLabel ( [NameEnglish], [Remarks], [FacilityType] )
namh = ""
rems = ""
fact = ""
if not isnull ( [NameEnglish] ) then
namh = [NameEnglish]
elseif not isnull ( [Remarks] ) or (([Remarks]) <> "") then
rems = [Remarks]
elseif not isnull ( [FacilityType] ) then
fact = [FacilityType]
end if
FindLabel = namh & " " & rems & " " & fact
End Function
I want to fulfill condition when Remarks is NULL & Remarks having "" means blank
1 Answer 1
change the or
to an and
elseif (not isnull ([Remarks])) and ([Remarks] <> "") then
answered Sep 29, 2016 at 4:37
Explore related questions
See similar questions with these tags.
lang-vb
[field] == None
for this condition.