Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sort list in DataCombo control
Message
De
02/07/2000 23:20:27
 
 
À
Tous
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Titre:
Sort list in DataCombo control
Divers
Thread ID:
00387633
Message ID:
00387633
Vues:
47
I tried to sort the Recordset but it doesn't display correctly.
Anything when wrong with my codes as follows:

Set rsCustLookup = New ADODB.Recordset
With rsCustLookup
.CursorLocation = adUseClient
.Open "SELECT * FROM Customer",cnn1,adOpenKeyset,adLockOptimistic
.Sort = CustID
.Requery
End With

Set dcCustIDList.RowSource = rsCustLookup
dcCustIDList.ListField = "CustID"
dcCustIDList.Refresh
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform