SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 Analysis Server and Reporting Services (2008)
 Interactive column sorting on a table
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

gbritton
Constraint Violating Yak Guru

405 Posts

Posted - 11/15/2013 :  16:33:42  Show Profile  Reply with Quote
I have a report that uses a table but has no grouping. Just things like: Order, Date, Quantity, etc.

I establish an initial order using an ORDER BY clause in the query. However, I'd like to give the users the option to re-order their reports on the Date column. So, I did this:

1. Selected the Date textbox
2. Right-clicked and selected text box properties
3. in the Interative Sorting tab, enabled sorting of the detail rows based on the value of the Date.

In preview mode, I see the little sorting icon, but NOT in the header row. It's in the Date textbox itself, and in every row returned. This is not what I expected. Worse yet, the sort button effectively does nothing. The table is not reorded by date.

Then I redid the three steps above, but on the column headers. That worked! Not what I expected, but I'll take it!!

James K
Flowing Fount of Yak Knowledge

3557 Posts

Posted - 11/15/2013 :  16:41:26  Show Profile  Reply with Quote
quote:
Originally posted by gbritton

I have a report that uses a table but has no grouping. Just things like: Order, Date, Quantity, etc.

I establish an initial order using an ORDER BY clause in the query. However, I'd like to give the users the option to re-order their reports on the Date column. So, I did this:

1. Selected the Date textbox
2. Right-clicked and selected text box properties
3. in the Interative Sorting tab, enabled sorting of the detail rows based on the value of the Date.

In preview mode, I see the little sorting icon, but NOT in the header row. It's in the Date textbox itself, and in every row returned. This is not what I expected. Worse yet, the sort button effectively does nothing. The table is not reorded by date.

Then I redid the three steps above, but on the column headers. That worked! Not what I expected, but I'll take it!!

What I suspect might have happened is that you added the interactive sort to the data cell, not to the header cell.

Remove the interactive sort from the data cell, and instead apply it on the header cell.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000