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