I have a sample database that shows how to build an SQL string's WHERE
clause based on values in various controls on a form:
Building SQL string based on values entered into controls
http://www.accessmvp.com/KDSnell/Sam...htm#FilterForm
You could use a setup similar to this to construct the SQL statement for
your listbox.
--
Ken Snell
<MS ACCESS MVP>
http://www.accessmvp.com/KDSnell/
"Dante" <(E-Mail Removed)> wrote in message
news:6DC2CDE5-1492-44B0-B2AF-(E-Mail Removed)...
>I am working in MsAccess 2003 (though I save my Databases in Access 2000
> format). I read the Allen Browne post on the search form using a filter,
> and
> it was good. However, I started getting the error of "There isn't enough
> memory to perform this operation. Close unneeded programs and try the
> operation again". I have a lot of records (4,200+) and more will be
> inputted
> into it. Is there a way to create a search form that will just query the
> results and list in a list box?
>
> It's a database that I keep for a library of books.
>
> I have the following fields: Title, Copyright, Printing, Additional Data,
> Type, Category and Box #.
>
> Thanks!