Hi there,
I am having a View which consist of some column and One Computed Column which returns the Addition of two Column
Eg:- View Field1, Field2, Computed Field(Field1 + Field2)
Field2 is having some Null values, so my Computed Column is returning Null for all the rows having
Field2 = Null.
In SQL we have
IsNull(Field2,0)
I want to achieve something like this in my Computed Column method.
I am using the Below Code for adding two fields i.e
return SysComputedColumn::add(
SysComputedColumn::returnField(
tableStr(ViewName),
identifierStr(datasourcename),
fieldStr(Tablename, Field1)),
SysComputedColumn::returnField(
tableStr(ViewName),
identifierStr(datasourcename),
fieldStr(Tablename, Field2)));
Can you please guide me how to achieve my above requirement.
Thank
Regards.
*This post is locked for comments