Quantcast
Channel: SCN : Discussion List - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 2881

Sorting by column sequence no. entered by user

$
0
0

Hi All,

 

With PB12.5 here.

 

I need to generate report in pdf and excel format, the report is result in table form which has many columns in.

My user would like to have sorting feature that, user to input the sequence no. of column in the report, which to be used for sorting and allow sort records by ascending / descending.

 

Example:

 

Col A     Col B     Col C     Col D .....

111        ZZZ       1.0          sdasd

222        YYY      1.0          gdfgdfg

333        XXX      1.1          lklklkl

444        AAA      2.0          wrwetwrt

 

When user enter sorting sequence no. = 2, which indicates Col B and Sorting by "Ascending", the records will sort by Col B and in ascending order.

Possible to do so?

Kindly advise and thank you in advance.

 

BR,

Yow


Viewing all articles
Browse latest Browse all 2881

Trending Articles



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