Problem with script

Results 1 to 3 of 3

Thread: Problem with script

  1. #1
    Rainier Guest

    Default Problem with script

    Heya,<BR>Got a problem with the following scriptlines:<BR>&#060;% <BR>strSQL = "SELECT * FROM Course WHERE Course.Course_ID =" & strCourse_ID<BR>Set objRS = Server.CreateObject ("ADODB.Recordset")<BR> objConn, strSQL<BR>%&#062;<BR>I receive the following error:<BR>The application is using arguments that are of the wrong type, are out of acceptable range, or are in conflict with one another. <BR>What am I doing wrong as objConn = okay and strSQL is okay too!!<BR>Thanx and regards<BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: Problem with script

    do a response.write <BR><BR>strSQL = "SELECT * FROM Course WHERE Course.Course_ID =" & strCourse_ID <BR><BR>response.write strSQL<BR>response.end<BR><BR>to see if you are getting a value for strCourse_ID

  3. #3
    RDM Guest

    Default strSQL should go before objConn


Posting Permissions

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