Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
QSL against a ADODB.recordset
Message
General information
Forum:
Visual Basic
Category:
Database DAO/RDO/ODBC/ADO
Miscellaneous
Thread ID:
00492122
Message ID:
00492920
Views:
15
>>You can sort your in-memory recordset.
>>Populate your recordset and then use rst.sort="Submit, Office"
>
>When using the following code, I recieve the message that the sort oder cannot be applied. What Have I missed? I'm sure its a simple thing that I should see as clearly as the nose on my face. I have changed the Desc field/col to bDesc to avoid keyword confusion. ...

I really think that the problem is with adBSTR. Try to use adVarChar (and specify a length also).

If this is of no help, add these lines before adding fields:
RS.CursorLocation = adUseClient
RS.LockType = adLockPessimistic
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform