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:
00485037
Vues:
15
>Nadya,
>
>I think, after cursot is created you should define:
>this.RowSource='ltissueweek'
>this.RowSourceType=2,
>and perhaps this.ControlSource='issueweek'
>
>
>>>>>>>>>>>>>>>...your message below
>Hi everyone,
>
>I have a combobox with this Init method:
>
>********************************************************************
>* Description.......: cmbExtrWeek
>* Calling Samples...:
>* Parameter List....:
>* Created by........: Nadya Nosonovsky 03/14/2001 02:51:51 PM
>* Modified by.......: Nadya Nosonovsky 03/14/2001 02:59:51 PM
>********************************************************************
>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.

That's dit it!!!!!! Setting these things programmatically did the trick! Great. Thanks a lot to everyone.
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