Solved

clearing/resizing combo box

Posted on 1999-01-15
4
140 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
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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

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…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

773 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