Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
List Boxes Behave strange
Message
 
À
28/06/2000 10:17:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00385612
Message ID:
00385825
Vues:
21
>Rowsourcetype is always: 3-SQl Statement
>Example:select distinct moc005 from mainstnd where not csempty(moc005) order by moc005 into cursor cMoc005
>
>So the lists are popualting when the form loads? I suppose..

Your original post says that you did not RowSource. If you have a rowsourcetype, the combobox will not behave properly if you didn't specify RowSource.

You can do it this way in Load event if you don't want to do it visually:
With Thisform.ComboBox1
    .RowSourceType = 3
    .RowSource = "Select blah..blah.. "
    .ComboBox1.Requery()
Endwith
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net

CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform