This topic is locked

check field value is not null syntax

2/3/2010 11:54:28 AM
ASPRunnerPro General questions
J
jmccullough author

Hello all, I am using Asprunnerpro 6.0 and would like to check the value of field [ContactPerson]. If the field is not null then I would like to change the font color so it stands out on my list page.

I am not sure of the syntax of the coding to check this field. Can anyone lend some help?
Thank you

Sergey Kornilov admin 2/3/2010

If you use 'View as' type 'Custom' try the following:

if not IsNull(strValue) then

strValue = "<font color=red>" & strValue & "</font>"

end if


More info:

http://xlinesoft.com/asprunnerpro/docs/_view_as__settings_custom.htm