Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
COMBOBOX!!!!!!!!!!
Message
 
 
À
19/04/2001 13:45:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00497420
Message ID:
00497458
Vues:
11
>Have you tried Combobox.Refresh() from the Form.Init?
>

No luck :((((
>
>>Hi everybody,
>>
>>I was trying to do the simplest possible thing - and it doesn't work! :(((((
>>
>>I have a form with 2 views and pageframe with two pages. The first page has info from vTownsMethods view. It has field MethName. I have a combobox on the first page with the following properties set in Properties Sheet:
>>
ControlSource=vTownMethods.MethName
>>     RowSource=select upper(FunName) as Fun_Name, FunctionID from AllFunctions where GenCat=vTownMethods.FunType order by 1 into cursor curFunNames
>>     RowSourceType=3 && SQL
>>     Style=2 && Dropdown list
>>
>> This combo has several methods, one of them is Refresh():
>>
this.requery()
>>
>> When I invoke my form, the combobox appears empty. If I try combobox.ListIndex=1 in Form's Init event, it shows the first record in the cursor, which is incorrect.
>>
>> How can I make it to start from the right value displayed in a combo? I think I already tried everything, but may be you have advices for me?
>>
>> With hope,
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