Solved

How to add more than 1 sort fields?

Posted on 2001-06-18
6
163 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 49

Accepted Solution

by:
Ryan Chong earned 50 total points
Comment Utility
in SQL, use ORDER BY

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

Expert Comment

by:gbaren
Comment Utility
What, exactly are you trying to sort...
0
 

Author Comment

by:WeeKeong
Comment Utility
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
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
LVL 9

Expert Comment

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

Author Comment

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

Expert Comment

by:DanRollins
Comment Utility
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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Excel Formula to Pull Data from Text String 7 66
z = x + y – 1 6 54
Access 2016 VB code 9 84
Updates not working for MS Windows 7 12 122
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

728 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

11 Experts available now in Live!

Get 1:1 Help Now