• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 147
  • Last Modified:

clearing/resizing combo box

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
lindadiehl
Asked:
lindadiehl
  • 3
1 Solution
 
clifABBCommented:
Have you tried using refresh?

Combo1.Refresh
0
 
lindadiehlAuthor Commented:
duh!!  That did it - I feel stupid
if you answer the question, clifABB, I'll give you the points.
0
 
clifABBCommented:
Glad I could help.  :)
0
 
clifABBCommented:
Arg, I thought I clicked "Answer".

Thanks.  :)
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now