You are on page 1of 1

Function FindLabel ( [LINE_NO], [MH_DEPTH], [Shape_Leng] )

if (cLng([MH_DEPTH] ) >= 5.5) then


FindLabel = [LINE_NO] + "<CLR red='255'><FNT size = '9'>"+vbnewline+ [MH_Depth] +
"m"+ " ("+ [Shape_Leng] + "m)"+ "</FNT></CLR>"
else
FindLabel = [LINE_NO] +vbnewline+ [MH_DEPTH] +"m"+ "("+ [Shape_Leng] + "m)"
end if
End Function

Function FindLabel ( [Line_3B_Data.Line_No], [Line_3B_Data.MH_Depth],


[Line_3B_Data.LENGTH__m_] )
if (cLng([Line_3B_Data.MH_Depth]) >= 5.5) then
FindLabel = [Line_3B_Data.Line_No]+ "<CLR red='255'><FNT size = '9'>"+vbnewline+
[Line_3B_Data.MH_Depth] + "m"+ " ("+ [Line_3B_Data.LENGTH__m_] + "m)"+
"</FNT></CLR>"
else
FindLabel = [Line_3B_Data.Line_No]+vbnewline+ [Line_3B_Data.MH_Depth] + "m"+ " ("+
[Line_3B_Data.LENGTH__m_] + "m)"
end if
End Function

You might also like