Hi,<BR>I am trying to send an SQL query to an MS Access database and get the following error message<BR><BR>Microsoft OLE DB Provider for ODBC Drivers error &#039 80040e10&#039<BR>Too few parameters. Expected 2.<BR>anyway here is part of my code that this error message comes up on<BR> &#039Establish a database connection<BR> Dim objConn<BR> Set objConn = Server.CreateObject("ADODB.Connection")<BR> objConn.ConnectionString = "DSN=dbtable1"<BR> objConn.Open<BR><BR> &#039Authenticate SQL query<BR> Dim strSQL<BR> strSQL = "SELECT * FROM ValidUsers WHERE UserName = " & _<BR> UserID & " AND Password = " & _ <BR> UserPWD & " "<BR><BR> &#039Run the query ... (Conn is the name of the database connection)<BR> Dim rs<BR> Set rs = objConn.Execute(strSQL)<BR><BR>I would appreciate any help. Thanks