its probably because you told the form ...
(through the list box's data properties in design mode ) ...
that the list box would be recieveing a RowSourceType of "Table/Query" and didnt specify what the RowSource query was (in your case it should have been "Query1")
and while initialising before entering its form_load event, the search form dealt with this as an error in one of the properties of its controls and then went on to the Form_Load event.
You can either set both rowsource = Query1
and
rowsourcetype = Table/Query in design mode and leave them completey out of form_load or you can go into the Data properties again and remove the RowSource entry (blank it) and do the same with RowSourceType,
and then change your form_load event in code to this....
-----------------------------------------------------------------------------
Private Sub Form_Load()
Dim txtSearchStrings As Variant
Dim strSQL As String
'Sets the checkbox to show incomplete records
'Sets the search string to show only incomplete records
txtSearchStrings = Me.txtSearch
' set the rowsource type...
Me.lstResults.RowSourceType = "Table/query"
' set the row source (the name of the query that will fill this listbox)
Me.lstResults.RowSource = "Query1"
'refresh the listbox
Me!lstResults.Requery
End Sub
-----------------------------------------------------------------------------
Either way will work, the only error you had was telling it what type of rowsource you were using but you didnt specify the rowsource (query) itself which caused an error BEFORE you hit form_load at which stage rowsource was re-set by the strsql parameter.
phew....
hope you can kinda understand that??
good luck! any more questions let me know.
now... back to work i go!