I would like to hide or show some page items if a sql query result is equal to 1 or 0 .
I thought I could use a DA and then use when event Page Load, but I can’t seem to find away.
I have set up some flag columns in my table,
Example:
<code>CUST_6 = 1 hide or CUST_6 = 0 show
CUST_7 = 1 hide or CUST_8 = 0 show
</code>
<code>CUST_6 = 1 hide or CUST_6 = 0 show
CUST_7 = 1 hide or CUST_8 = 0 show
</code>
CUST_6 = 1 hide or CUST_6 = 0 show
CUST_7 = 1 hide or CUST_8 = 0 show
So if CUST_6 = 1 then hide page item 6 and then the same for CUST_7 if = 0 then show.
Let me know if this is possible or if a different method would work for this use case.