Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
.combo2.refresh not working.
Message
De
11/01/2000 04:48:17
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
11/01/2000 04:20:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00315382
Message ID:
00316028
Vues:
23

Cemal,
Combolarda controlsource olarak memvar veya array kullanmak ? Onun yerine dogrudan combo.value daha efektif gorunuyor. Sunu bir dene :

Controlsource'lari bosalt.
Her ikisi de sanirim su anda birinci kolondan deger getiriyor, aynen oyle birak.
1.combonun interactivechange'i :
thisform.Combo2.value = this.list(this.listindex,2)

2.combonun interactivechange'i :
thisform.Combo1.value = this.list(this.listindex,2)

Herhangi bir refreshe ihtiyacin yok.

Kullandigin yerde istedigin combodan istedigin kolonu yukarida interactivechange orneginde oldugu gibi al (oradaki 2, kolon 2'yi gosteriyor).
Bu arada, "fields" record pointeri oynatan bir secim. Onun yerine eger gerekiyorsa SQL rowsourcetype kullanabilirsin. Eger kullanmaya karar verirsen Rowsourcelar ( sirasini sasirmis olabilirim ):
1.Combo : "select kodu, adi from myTable into cursor crsCmb1"
2.Combo : "select adi, kodu from myTable into cursor crsCmb2"

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
Répondre
Fil
Voir

Click here to load this message in the networking platform