Solved

Sorts in Visual studio

Posted on 2008-10-06
1
286 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
ID: 22649987
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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

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…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

808 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