Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combobox driving me crazy....
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Combobox driving me crazy....
Divers
Thread ID:
00641186
Message ID:
00641186
Vues:
65
This shouldn't be so hard....

What I'm trying to do is create a self-contained combobox class that will dropdown a Yes/No option, placing a corresponding .t. or .f. into a table. I created an array within my class called yesno(2,2) with the following values:

(1,1) = .t.
(1,2) = "Yes"
(2,1) = .f.
(2,2) = "No"

My controlsource is tied to a logical field within a table and my boundcolumn is set to 1.

When I try to use this combobox, I get the error of a data type mismatch. I have tried various arrays with only one column (logical) and every conceivable variation of bound/unbound, etc....I can get the thing to tell me that the array doesn't exist, but in every other case, it says "data type mismatch"

What in the world am I doing incorrectly???

As always, my humble thanks in advance.
Steve Howie, owner
DaSH Technology
Denver, CO
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform