I have a case statement that evaluates a string in a combo box on a form which is either English or Metric. What I'm finding is that the case statement does not see the pull down box contents which is loaded by default unless it is physically reselected by the user. In other words the combo box defaults to "metric" but the case statement does not recognize it unless I go and reselect "metric" in the combo box. Any help would be appreciated.
MJV
0
Junior Poster in Training
Recommended Answers
Jump to PostWhats wrong with the other question you already have a thread on this subject for?
Jump to Posti don't understand very well your problem. Give us the code, example... don't let us guess.
Jump to PostIf this is the problem I think it is, I usually fix it by using the Text property of the combo box. It should allow you to get the text of what's in the combo box without the user actually having to select it.
Jump to PostOK...have you tried using the SelectedItem property?
All 13 Replies
LizR
171
Posting Virtuoso
MJV
0
Junior Poster in Training
Clawsy
1
Posting Whiz in Training
bcasp
13
Light Poster
MJV
0
Junior Poster in Training
bcasp
13
Light Poster
MJV
0
Junior Poster in Training
LizR
171
Posting Virtuoso
MJV
0
Junior Poster in Training
LizR
171
Posting Virtuoso
MJV
0
Junior Poster in Training
LizR
171
Posting Virtuoso
bcasp
13
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.