|
-
Feb 20th, 2002, 03:08 AM
#1
Querring a recordset?
Hi
Does anyone have info on the sort property of a recordset and possibly an example showing how its used?
Thanking you in advance
PORRASTAR
-
Feb 20th, 2002, 04:11 AM
#2
The sort method sorts the recordset by the columns you specify :
Code:
rsTemp.Sort "Column2", "Column1"
Will make the recordset show the records in sorted by the second column, then the first, so :
1 | 3
2 | 2
3 | 1
becomes :
3 | 1
2 | 2
1 | 3
-
Feb 20th, 2002, 04:27 AM
#3
Hyperactive Member
S'probably much better to order the recordset via the defining query . . . .
Code:
SELECT Field1, Field2, Field3 FROM tblTable WHERE Field9 = <SOMETHING> ORDER BY Field3, Field1
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
|
Click Here to Expand Forum to Full Width
|