Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3576

Re: Sorting by column sequence no. entered by user

$
0
0

Hi Yow;

 

  For user sort control, I would:

 

1) Use the DW's Describe () method to get a list of the columns

   -  <DW Control Name>.Describe("DataWindow.Objects")

2) Open a Response dialogue with a column list from Step #1

3) Allow the user to pick the column(s) and the sort direction in the response window.

4) Use the CloseWithReturn command to return the column/sort list to the report dialogue

5) Use the SetSort() and Sort () methods to resort the report as required.

 

HTH

Regards ... Chris


Viewing all articles
Browse latest Browse all 3576

Trending Articles



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