Solved

clearing/resizing combo box

Posted on 1999-01-15
4
142 Views
Last Modified: 2010-05-03
I have a dropdown combo box (style 2) which varies in number of items in list depending on another selection made on form.  I want to clear it between records.  This works OK when number of items increases, but when the list goes down to one or two items, the box stays large and will not close on form.  I am left with a large empty list box below the new one that loads - and no way to close it.
0
Comment
Question by:lindadiehl
[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
  • 3
4 Comments
 
LVL 6

Expert Comment

by:clifABB
ID: 1456631
Have you tried using refresh?

Combo1.Refresh
0
 

Author Comment

by:lindadiehl
ID: 1456632
duh!!  That did it - I feel stupid
if you answer the question, clifABB, I'll give you the points.
0
 
LVL 6

Expert Comment

by:clifABB
ID: 1456633
Glad I could help.  :)
0
 
LVL 6

Accepted Solution

by:
clifABB earned 100 total points
ID: 1456634
Arg, I thought I clicked "Answer".

Thanks.  :)
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
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 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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

726 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