Information générale
Catégorie:
Gestionnaire d'écran & Écrans
I find that using an array with a combo is much easier. Add an array property to your base combo class and then in the init of the combo you can completely control the order of the data.
SELECT name FROM customer ORDER BY credit_available INTO CURSOR this.aCombo
>What determines the order in which items are listed in a drop-down list box?
>
>I have a table containing a list of available products. I have sorted the table by writing a new version of the table using a select query, ordered by a field that determines the desired sequence. The records should be stored in the table in the desired order. If I open the table with no index order set, the records appear in the desired order.
>
>I have the combo box's RowSource type set to 6 - Fields and the Sorted property is .F.
>
>When I access the combo box, the items are listed in an order with no apparent relation to the table. Definitely not what I want.
>
>Can anyone give me a clue?
>
>Thank You,
>Neil Preston
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement