Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
.combo2.refresh not working.
Message
De
10/01/2000 10:00:42
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
10/01/2000 07:08:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00315382
Message ID:
00315457
Vues:
25
>I have two combos in a form.
>From the first you can select the customer from his id.
>From the second you can select the custtomer from his name.
>I have this code in the in the valid event from the first combo ;
>
>newline(2) = customer.name && newline(2) is the controlsource from the second combo
>thisform.combo2.refresh
>
>When i select a customer from the first combo sometime does not refresh the second combo.
>Any ideas.
>Thanks


Hi Cemal,
Ramazan bayramin kutlu olsun.
If the id is integer and not sequential then you'd be in trouble with this approach. Check ItemIdtoIndex and IndexToItemId. As Marcia suggested it's wiser to have just one combo. As Ricardo said it would actually work but I think id is integer causing the trouble.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform