Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > Database and Reporting > How to Make the ascending in the Table


Reply
 
Thread Tools Display Modes
  #1  
Old 03-18-2004, 09:39 PM
nelsonpang nelsonpang is offline
Newcomer
 
Join Date: Mar 2004
Posts: 3
Question How to Make the ascending in the Table


can i using recordset to set fields ascending??
or must be using SQL to set it?

If u know the answer Pls reply me faster !!
Thank you,
Merci
Reply With Quote
  #2  
Old 03-18-2004, 09:45 PM
MikeJ's Avatar
MikeJ MikeJ is offline
Retread

Retired Moderator
* Expert *
 
Join Date: Sep 2002
Location: Austin, Texas
Posts: 6,742
Default

You can use the Sort property of the Recordset. Notice though, this will not rearrange the records, it will just let you access them in the sorted order. Check out this property in MSDN. (Of course, you could use the SQL - ORDER BY and ASC statements too.)
__________________
{ Lex Fori } { Locus Classicus } { Rutilus Scrinium }
Osculare pultem meam!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to make my report parameterize elahe Word, PowerPoint, Outlook, and Other Office Products 10 01-22-2003 12:01 PM
checking the existence of a table in database cp537 Database and Reporting 13 09-30-2002 05:48 PM
Amend a row linzy Database and Reporting 9 01-24-2002 06:46 PM
Multiple Table Query? Rezner Database and Reporting 0 01-08-2002 02:55 PM

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->