Solved

Clearing an unbound list box

Posted on 2008-10-17
4
255 Views
Last Modified: 2012-05-05
Experts,
The purpose of my form is to build a bill of material (BOM). The user selects a bill of material number and adds various components to it, saving a record after each new componet has been added, showing the build components in a list box. When a BOM has been completed the user then adds a new BOM and the list box needs to be cleared. And that is my problem - clearing out the list box.  
I've tried:
Me.lstBOM.Value=False
0
Comment
Question by:Frank Freese
4 Comments
 
LVL 77

Expert Comment

by:peter57r
ID: 22742362
What is the rowsource of the listbox?
0
 
LVL 75

Accepted Solution

by:
DatabaseMX (Joe Anderson - Access MVP) earned 500 total points
ID: 22742411


Me.YourListBoxName.RowSource = ""

mx
0
 

Author Closing Comment

by:Frank Freese
ID: 31507191
Great! I tried that a few minutes ago and it work so you affirmed I did  the right thing
0
 
LVL 57
ID: 22742453
Try:

Me.lstBOM.Value = Null

JimD.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

In Debugging – Part 1, you learned the basics of the debugging process. You learned how to avoid bugs, as well as how to utilize the Immediate window in the debugging process. This article takes things to the next level by showing you how you can us…
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

708 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

14 Experts available now in Live!

Get 1:1 Help Now