DM,<br><br>This is what i included as suggested by you.<br><cfquery name="Homes" datasource="db1"><br> SELECT * from Property<br> WHERE PropBedrooms >= #PropBedrooms# and<br> PropBathrooms >= #PropBathrooms#<br> and PropState = '#PropState#'<br> and PropType = '#PropType#'<br> and PropPrice = '#MaxPrice#' <br></cfquery><br><br>From the previous prblem i got. I got this new error.<br><br>ODBC Error Code = 22005 (Error in assignment)<br>[Microsoft][ODBC Microsoft Access Driver] Data type mismatch in criteria expression.<br>The error occurred while processing an element with a general identifier of (CFQUERY), occupying document position (31:1) to (31:39).<br><br>