Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combobox should start from some value
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00485028
Message ID:
00485034
Vues:
16
>>local lcOldSetNear
>>lcOldSetNear=set('near')
>>set near on
>>select issueweek, closedate ;
>> from weekissu where st='MA' ;
>> order by CLOSEDATE DESC into cursor ltissueweek
>>index on CloseDate tag CloseDate descending
>>seek date()
>>if lcOldSetNear="OFF"
>> set near off
>>endif
>>*this.DisplayValue=ltIssueWeek.IssueWeek
>>this.ListIndex=1
>>
>>My problem is, what I can not find a way to display the current issue in a combobox. Could you please help me here?
>>
>>Thanks in advance.
>
>Where are you setting the rowsource?

In the property sheet: ltissueweek.issueweek,closedate and RowSourceType=2 (Alias). It's not bound and Style - 2 (Drop-down combo). If I try DisplayValue, it remains empty, if I set ListIndex=1, it starts from the first item (200152, but I want 200110 instead).
Thanks.
If it's not broken, fix it until it is.


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

Click here to load this message in the networking platform