Hi peter,
Have a peak at:
http://p2p.wrox.com/topic.asp?TOPIC_ID=25668
You might find it useful. Its how I routinely do multiple-parameter searches. The search form builds the appropriate WhereCondition string in code, stores it in the variable strWhereCondition, then opens a search results form filtered by the WhereCondition.
DoCmd.OpenForm FormName:="frmSearchResults", WhereCondition:=strWhereCondition
To add checkbox criteria to the WhereCondition building code, add a parameter like:
'-----------------------------------------------------------------
' 5. Build BatteriesIncluded parameter
'-----------------------------------------------------------------
If Me!chkBatteriesIncluded Then
If IsNothing(strWhereCondition) Then
strWhereCondition = "([BatteriesIncluded] Is Not Null)"
Else
strWhereCondition = strWhereCondition & " AND ([BatteriesIncluded] Is Not Null)"
End If
End If
HTH,
Bob