Code acting funny

Results 1 to 3 of 3

Thread: Code acting funny

  1. #1
    Combustication Guest

    Default Code acting funny

    I have the following code;<BR>&#060;%<BR>&#039;Pull out the corresponding e-mail <BR>dim rsdb <BR>set objrs2 = server.CreateObject ("ADODB.recordset")<BR>rsdb = "SELECT employee.[email] FROM Employee WHERE employee.Name=&#039;"& request("Teamleader")&"&#039;"<BR>objrs2.Open rsdb,objconn<BR>...<BR><BR>When I run this, it dumps on the last line (objrs2.Open rsdb,objconn) the error is;<BR>Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.<BR><BR>I have the exact code running on another similar page, although I have deleted some unrelated code. I have checked it again, and again. What am I doing wrong?

  2. #2
    Join Date
    Dec 1969

    Default where is your objconn ??


  3. #3
    Combust Guest

    Default Senior moment...thx


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts