Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ComboBox - Locating a row from a field value
Message
 
 
À
15/01/2008 14:07:06
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01281988
Message ID:
01281999
Vues:
8
>>>I have a field value of "03:45 PM" and those match a value of one of the rows in a ComboBox. How can I make that row display in the ComboBox? I'm using set listindex to 1 in the INIT to make sure it is on the top row, but I need to now have it based on the field value of the current record. Thanks!
>>
>>What is the combo's rowsourcetype?
>
>Fields, with the RowSource tied to the field. I've got a refresh for the ComboBox in the AfterRowColChange method of the grid, but it doesn't change the value in the ComboBox. When I first come into the form, it is showing the correct value for the first record, not ListIndex = 1, but the actual row for the first record, which is the current one.

Sounds like something too complex for me right now to understand. Sorry, Jay, hopefully Fred will help you.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform