?
Solved

Sorts in Visual studio

Posted on 2008-10-06
1
Medium Priority
?
298 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

How to Create Failover DNS Record Sets in Route 53

Route 53 has the ability to easily configure DNS record sets specifically for failover scenarios. These failover record sets can be configured to failover to full-blown deployments in other regions or to a static HTML page that informs your customers of the issue.

Question has a verified solution.

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

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…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

764 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