Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Order By ...

Status
Not open for further replies.

garfield11

IS-IT--Management
Jul 4, 2002
44
SG
Hi all,

Here's my problem:

How can I make my program to work like :

- When I click on Contact Date it will order by date ASC?

- When I click on Consultant Name it will order by name ASC?


<u>Contact Date</u> <u>Consultant Name</u>

14/10/02 Jane
3/5/02 Alan



Thanks!

Love_Garfield
 
Where are you getting the data from? If it's hard-coded in your script then you don't have a problem. If you're getting it form an on-line data file, you would usually use an SQL statement to retrieve the data and there is where you would place your &quot;order by&quot; statement. There's always a better way...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top