Solved

How to add more than 1 sort fields?

Posted on 2001-06-18
6
177 Views
Last Modified: 2010-05-02
Currently i'm using Automation Server in creating report at runtime. if i want to add more than 1 sort fields, how can i do that? pls attach codes to give a clearer picture.
Thanx
0
Comment
Question by:WeeKeong
[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
6 Comments
 
LVL 52

Accepted Solution

by:
Ryan Chong earned 50 total points
ID: 6204906
in SQL, use ORDER BY

-> Order By field1, field2 ;
-> Order By field1 ASC, field2 DESC ;
0
 
LVL 5

Expert Comment

by:gbaren
ID: 6204915
What, exactly are you trying to sort...
0
 

Author Comment

by:WeeKeong
ID: 6204961
actually i got a form for user to select the fields that he/she wants to sort. i'm binding the report to the table directly without using SQL statement. now i would like to set the recordsortfields. Can i do that for more than 1 sort fields?
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 9

Expert Comment

by:Valliappan AN
ID: 6205294
What tool/control are you using to display report?
What backend is it, that you use?
0
 

Author Comment

by:WeeKeong
ID: 6209059
oh...i solved my problem already by using Automation Server. Thanx all.
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 7086609
Hi WeeKeong,
You've requested to delete this question, but its status has remained as 'Pending Delete' because one or more comments have been added.  Normally, the only way to fully delete such a Question is to post a message to Community Support and ask for assistance.

EE is making a one-time database sweep to purge the Pending Delete Questions automatically.  During this sweep:

    WeeKeong -- To allow the deletion to proceed:  Do nothing.
    EXPERTS -- Please DON'T POST a comment except to contest this deletion.

In the future, please refer to http://www.experts-exchange.com/jsp/cmtyHelpDesk.jsp#8 for instruction on deleting questions.

DanRollins -- EE database cleanup volunteer
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

691 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