Quantcast
Channel: WinDev Forum
Viewing all articles
Browse latest Browse all 1914

Re: Swapping columns in windev 22 reports (4 replies)

$
0
0
Hello,

Using Windev 22, Postgresql 10

I created a report from a table. Everything is OK.

In this report I need to swap two columns based on a global setting. Swapping columns in table is easier, by providing 'column move' option while designing, that client could move those columns.

Now I want the same effect in the report also.

Say Table contains,

Col1, Col2, Col3, Col4

Of these Col3 and Col4 could be either Col3, Col4 or Col4, Col3. [Columns swapped]

Now I want the same thing in the report. How to do it ? Any script to inter-change those columns or change the value of X of a col3 or col4 at runtime ?

Tried with some values, that the column disappears.... seems I'm doing something wrong.

Any ways to do it ?

Happiness Always
BKR Sivaprakash

Viewing all articles
Browse latest Browse all 1914

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>