Solved

Sorts in Visual studio

Posted on 2008-10-06
1
278 Views
Last Modified: 2013-11-26
Hi,
I have a report running that runs a stored procedure.  Multiple paramter values (ie order numbers) are passed from the report at run time.  If I run the query from visual studio & view the results in my visual studio 'data' window the results are sorted as I want them:  product first then by order no.   However, when i view the results in the report window they are not sorted the same, they are sorted by order then product which is causing me problems and I cannot seem to resolve.    
The report only has one paramter specified, this being order no but for which can be selected multiple values.  
I dont understand why the two result sets should be diferent and how I can resolve on my printed report.

Thanks
0
Comment
Question by:Kyliem
1 Comment
 

Accepted Solution

by:
Kyliem earned 0 total points
Comment Utility
resolved by self.  please do not post to this item.

The error was that groups were applied and as usual group sorting would be applied before any column sorts.  Removed groups as not required and now fine.  :-)
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now