Everymancomputers
asked on
Hiding cells function SQL
Hi,
Is there any function in SQL which will allow to to hide cells on my Visual Studio report if theres another cell which is currently showing ?
Is there any function in SQL which will allow to to hide cells on my Visual Studio report if theres another cell which is currently showing ?
inside your report say we have table
<table style="<%=rs("dd")%>
here rs("dd") : rs is record set and dd is field name
now come to query part
select
case when fieldname ="test" then "display:none"
else "display:"
end as dd from tablenme
Syntax might be wrong its just an idea
<table style="<%=rs("dd")%>
here rs("dd") : rs is record set and dd is field name
now come to query part
select
case when fieldname ="test" then "display:none"
else "display:"
end as dd from tablenme
Syntax might be wrong its just an idea
ASKER
I was using the TRIM function but that only solves one side of the problem i'm trying to avoid if possible creating two diffrent reports.
although the TRIM function removes the cell what I'm trying to work out is if for example the cell which shows the bussiness name for it to hide the cell which shows the customer name.
although the TRIM function removes the cell what I'm trying to work out is if for example the cell which shows the bussiness name for it to hide the cell which shows the customer name.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Lee