Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
570
ValueBasedAppearance (Formula Condition Across Bands)
posted

Has anyone tried to apply a formula condition across bands? I am trying to check for the existence of  particular band on the grid (underlying datasets are related by a FK relationship).

I'd like to highlight a cell in the parent band yellow when the child band for that particular row is populated. I'm attempting to do this w/ a formula similar to the following:

not(isdbnull( [../fk_tradeexecution_canceltradeexecution/cancelexecutionid] ))

(fk_tradeexecution is my child band, cancelexecutionid is the key relating the two bands)

Not sure why this doesn't work.... If there are child bands for the row, then a call to isdbnull should return false and hence should highlight the cell yellow......

If tried replacing isdbnull with isnull, I've even tried replacing isdbnull with a count() function and checking to see if the count is <> 0.... no luck in either situation.

As an aside, I definitely have an UltraCalcManager on the grid...