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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Arranging results

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi,<br><br>I just started with ColdFusion and am building a Curriculum Guide for my school. I have it looking at an Access Database and exporting it to the screen (bascially the same as the demo that comes with ColdFusion). But it looks at the Autonumber ID that I set when I want it to look at the Year Number to arrange the results. (In Australia Year is the same as Grade). If you don't get my drift, goto<br><A HREF=" TARGET="_new"> see my technical demo and if you want have a look at the website i have created (not yet the official website of the school) goto:<br><A HREF=" TARGET="_new">
 
Hi,<br>I suppose that you have used a SQL query to put the database on the screen. Try use something like this:<br><br>&lt;cfquery name=&quot;SelectQuery&quot; datasource=&quot;your_datasource&quot;&gt;<br>&nbsp;&nbsp;&nbsp;SELECT * FROM your_table<br>&nbsp;&nbsp;&nbsp;ORDER BY year<br>&lt;/cfquery&gt;<br><br>and then use that result to put the years on the screen.<br>This should work.<br>Success.<br>Sleepy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top