Solved

clearing/resizing combo box

Posted on 1999-01-15
4
138 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
  • 3
4 Comments
 
LVL 6

Expert Comment

by:clifABB
Comment Utility
Have you tried using refresh?

Combo1.Refresh
0
 

Author Comment

by:lindadiehl
Comment Utility
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
Comment Utility
Glad I could help.  :)
0
 
LVL 6

Accepted Solution

by:
clifABB earned 100 total points
Comment Utility
Arg, I thought I clicked "Answer".

Thanks.  :)
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

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…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

763 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now