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

ORDER BY not working, in ADO only, not Access

Status
Not open for further replies.

markphsd

Programmer
Jun 24, 2002
758
US
Hey,

I have A2002, using ADO 2.7.

I have a select statement:

SELECT ProductID, ProductName
FROM tblProducts
ORDER BY ProductName

It doesn't do the order by with a .getrows and ListView object. I get unordered results in the list.

When I put this in an Access query, I get an ordered result.

When I put this query as a bound recordsource for a listbox I get the ordered result.

Any ideas?



Mark P.
Providing Low Cost Powerful Point of Sale Solutions.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top