Hi
Is there any way to have an expression in a Datawindow refer to itself by name (or column number)?
For example if I want to have editable columns be underlined, I could use this code in its border expression.
if( long( describe( '
But if I want to apply this to several columns, I'll have to manually adapt that expression for every column.
So now my lazy inner voice is wondering if there's any way to get something like this to work?
Thanks in advance
Markus
You are correct .. the @COL will work within a Describe!
Note that you do not need the # sign ...
if( Describe("@col" + ".TabSequence") = '0', 6, 5)
Regards ... Chris
Old habits die hard ;-)
The # prefix comes from converting column numbers into names outside the DW engine using Describe("#" + string(i) + ".name"). I simply kept using it inside the DW engine because it worked. Never thought of skipping it. But now I know!
Cheers, /Michael