Solved

How to add more than 1 sort fields?

Posted on 2001-06-18
6
170 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
6 Comments
 
LVL 51

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
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

860 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