Unbound list box and search

H

Harmannus

Hallo,

I have a unbound listbox (CPlist) that shows *all* my costumers based on a
query (qselCP). Can i filter the records of the listbox based on a search i
do?

The code that shows the search results:

DoCmd.OpenForm FormName:="frmCP", WhereCondition:=GetStrZoek

How can ik hook this up to the unbound listbox?
And resetting the unbound listbox to its *normal* state after i press the
filter off button (now i use Me.FilterOn = False)?

Thanx for any tips!

Regards,

Harmannus
 
Top