When exporting a database to the web, Microsoft Access' Web Publishing Wizard creates an HTML extension file (.htx).and an Internet Database Connector file (.idc).<br><br>The .idc file contains a query in the form of an SQL statement and information that Microsoft IIS uses to connect to the database.<br><br>The .htx file is an HTML file that contains formatting tags and instructions, and instead of data, placeholders indicating where to insert the values returned from the query in the .idc file.<br><br>After you publish your database and install your Web application, Microsoft IIS, upon request from a Web browser, opens the database (using the Microsoft Access Desktop Driver and the .idc file connection information), runs the query in the .idc file to access the data, merges the results and .htx file into one .html file, and then sends the .html file back to the Web browser for display as a Web page. Sorry for the long explanation.<br><br>But back to the parameters. Your assessment of the situation was right on: When I supply the company name (or part of the name), the query works fine (regardless of what is in the company code field). When I supply the company code (regardless of what's in the company name field), I get back every record in the database.