datatable - DBNULL to String is not valid -
i have returning datatable has cell value of nothing passed function ex. row("incident_idcrimes") column in datable
controller.getcrime(row("incident_idcrimes")) function returns either has value or nothing.
if catch return value of nothing using try catch will
return nothing how create formula catch passing function?
if isnull({stat.idcrimes}) = true "none" else {stat.idcrimes} this formula give me error

isnull({stat.idcrimes}) this returns boolean (either true or false), purpose of comparing value again?
you can change as
if isnull({stat.idcrimes}) "none" else {stat.idcrimes} edit*****************
if {stat.idcrimes}=cstr("") "none" else {stat.idcrimes}
Comments
Post a Comment