Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo box again......
Message
De
19/11/1996 09:30:45
 
 
À
19/11/1996 09:22:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00012708
Message ID:
00012745
Vues:
37
>Nick,
>
>I'm not sure what you mean. I have placed in the DisplayValue the appropriate notation (according to the book) that is suppose to display the value. I've looked through several books and in the MS KB and tried their solutions. This includes access the array. None are working. I came across something last night on the Net that I'm going to try.
>
>Anyways I thought I heard something about arrays and combo boxes at Devcon. I believe it was in Granor's session. I was hoping someone might remember and enlighten me.
>
>Thanks for your help
>Larry

Generally if you have RowSource- alias(field) you don't need to REFRESH. Use REQUERY if source changed. If you just skip a record, you could refresh in code: cmb1.value=YourTable.field. It always works fine so we don't need in DisplayValue or Refresh.
If RowSource is Array you must refresh in code. Any time you want to jump programmatically from one array element to another you issue: cmb2.value=YourArray[nArray]
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform