Solved

Combo box always showing last item

Posted on 2002-04-24
6
128 Views
Last Modified: 2010-05-18
I have combo box with the  following properties:
sorted = True
style= 2-Dropdown List

I fill some number series in this combo,
e.g AC01010001,SAC01010002,SAC01010003,SAC01010004........


Now when i click first or any item from this combo it always take me to last one.
i.e if i select SAC01010001, it take me to SAC01010004

What can be the reason?
0
Comment
Question by:sachin_raorane
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 100 total points
ID: 6965339
There must be some code in the click or change event handler, otherwise there is no reason.
Please verify (eventually post) your relevant code.

CHeers
0
 
LVL 5

Author Comment

by:sachin_raorane
ID: 6965383
thanx for ur suggestion.

I got the answer.

I was filling some text box on selection of the number from combo.
In one of the text box i was using SendKey "{END}"
this was causing the problem.
0
 
LVL 5

Author Comment

by:sachin_raorane
ID: 6965384
thanx for ur suggestion.

I got the answer.

I was filling some text box on selection of the number from combo.
In one of the text box i was using SendKey "{END}"
this was causing the problem.
0
Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

 
LVL 5

Author Comment

by:sachin_raorane
ID: 6965385
thanx for ur suggestion.

I got the answer.

I was filling some text box on selection of the number from combo.
In one of the text box i was using SendKey "{END}"
this was causing the problem.
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 7660864
sachin_raorane, an EE Moderator will handle this for you.
Moderator, my recommended disposition is:

    Accept angelIII's comment(s) as an answer.

DanRollins -- EE database cleanup volunteer
0
 

Expert Comment

by:SpideyMod
ID: 7755426
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Excel - Save a copy of work book 13 96
Excel VBA, find a string in a column, update a cell 7 118
how to loop through and process two columns in excel 8 72
VB6 Enviroment 3 38
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question