Solved

How to add more than 1 sort fields?

Posted on 2001-06-18
6
171 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
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!

 
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

Independent Software Vendors: 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

Suggested Solutions

Title # Comments Views Activity
Copy a row 12 69
Add and format columns in vb6 7 70
I need help embedding an image as HTML in my vb.net application 3 79
RUNRMTCMD from AS/400 12 86
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…
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…

685 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