title: Cannot use parentheses when calling a Sub
body: <p>I have a Classic ASP page that contains the following code to attempt a parametised query;</p>
  
  <pre><code>&lt;%
  Set cmdEmail = Server.CreateObject("ADODB.Command")
  Set rsEmail = Server.CreateObject("ADODB.Recordset")
  
  cmdEmail.CommandText = "SELECT * FROM VWTenantPropertiesResults WHERE ContentID = ?"
  cmdEmail.CommandType = 1
  cmdEmail.ActiveConnection = MM_dbconn_STRING
  cmdEmail.Parameters.Append
  cmdEmail.CreateParameter("@ContentID", 3, 1, , request.Form("ContentID"))
  
  rsEmail.Open cmdEmail
  %&gt;
  </code></pre>
  
  <p>However, the page is now reporting the following error;</p>
  
  <p>Cannot use parentheses when calling a Sub
  /welcome/default2.asp, line 436
  cmdEmail.CreateParameter("@ContentID", 3, 1, , request.Form(ContentID))
  -----------------------------------------------------------------------^</p>
  
  <p>Is this some bug with ASP or do I need to change how I attempt parametised queries?</p>
  
  <p>Thank you.</p>