-
How to Use sort property
How do you use the Sort property of the ADO Recordset? Any example.
I wish to sort on two column fields. Say AParam first then followed by ASequence.
How do my Sort statement looks like assuming my recordset is RS.
RS.Sort ???
rgds,
Saiful
-
Re: How to Use sort property
Try this
strSort = Fieldname1 & Fieldname2 & " ASC"
AdoRS.Recordset.Sort = strSort
Erwin
"Saiful" <md-saifulamri_omar@hp.com> schreef in bericht
news:39ae6763$1@news.devx.com...
>
> How do you use the Sort property of the ADO Recordset? Any example.
>
> I wish to sort on two column fields. Say AParam first then followed by
ASequence.
>
> How do my Sort statement looks like assuming my recordset is RS.
>
> RS.Sort ???
>
> rgds,
> Saiful
-
Re: How to Use sort property
read "ADO tutorial" in microsoft MSDN help for VB
"Saiful" <md-saifulamri_omar@hp.com> wrote:
>
>How do you use the Sort property of the ADO Recordset? Any example.
>
>I wish to sort on two column fields. Say AParam first then followed by ASequence.
>
>How do my Sort statement looks like assuming my recordset is RS.
>
>RS.Sort ???
>
>rgds,
>Saiful
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks