Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
QSL against a ADODB.recordset
Message
Information générale
Forum:
Visual Basic
Catégorie:
Bases de données DAO/RDO/ODBC/ADO
Divers
Thread ID:
00492122
Message ID:
00492920
Vues:
17
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform