Lauren
2010-09-28 20:06:03 UTC
I am trying to hide a column if the selected criteria is not used. I am using
the following code:
display CategoryName categoryName()
{
CategoryTable categoryTable;
;
if (tmpProjTransList.Level2)
{
return (select categoryTable
where categoryTable.CategoryId ==
TmpProjTransList.CategoryId).categoryName;
}
}
How do I get the column to hide if level2 is not selected? And more
specifically, I need level 2 when level 2 is = category.
the following code:
display CategoryName categoryName()
{
CategoryTable categoryTable;
;
if (tmpProjTransList.Level2)
{
return (select categoryTable
where categoryTable.CategoryId ==
TmpProjTransList.CategoryId).categoryName;
}
}
How do I get the column to hide if level2 is not selected? And more
specifically, I need level 2 when level 2 is = category.