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

ADO, SQLOLEDB and the ORDER BY clause

Status
Not open for further replies.

Lozzer

Programmer
Apr 16, 2002
7
GB
I am trying to open a static, pessimistic locking recordset on a SQL 7 server which needs some record deletions.

I need also to order the recordset and have been trying to do so by using an order by clause in the SQL statement in the open method of the recordset.

If I remove the ORDER BY clause the recordset opens fine.

If I use the ORDER BY clause, the recordset returned is always read only and forward only!!

Does anyone have any ideas how to get around this problem??
PLEASE HELP!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top