-
September 25th, 2003, 07:13 AM
#1
Problem with in memory ADODB rs
12 fields in the rs.
code reads;
.
with rsTmp
.Sort = "COST" ' FieldType double, want it in ascending order
.Filter = "COST > 0" ' Do not return records with 0 in COST
end with
.
problems I get are:
a) sort does not happen, still get physical order of rsTmp
b) returns all records, not just the ones where COST > 0.
.
This works on a rs created from a physical table, but not on an "in memory" rs.
Any ideas?
Thanks
Paul
-
September 25th, 2003, 09:19 AM
#2
See the MSDN, some kind of recordsets don't support sorting and filtering. If you do open the recordset with an sql instrution, you can order te rcords in the sql statement
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
|