Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combobox driving me crazy....
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Combobox driving me crazy....
Miscellaneous
Thread ID:
00641186
Message ID:
00641186
Views:
64
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
Next
Reply
Map
View

Click here to load this message in the networking platform