+ Reply to Thread
Results 1 to 1 of 1

reseting adodb commands? help please

  1. #1
    Registered User
    Join Date
    02-18-2006
    Posts
    7

    reseting adodb commands? help please

    Is there any way to reset a adodb command?

    i have this code:

    auxString = xmlDoc.documentElement.XML
    auxLong = Len(auxString)
    cmd.ActiveConnection = con
    cmd.CommandText = "PLANOS_PACK.Insert_Data"
    cmd.CommandType = adCmdStoredProc
    Set InputParam = cmd.CreateParameter("input", adLongVarChar, adParamInput, auxLong, auxString)
    cmd.Parameters.Append InputParam
    cmd.Execute

    that is in a loop, it works for the first iteration, but in the second it gives me an error, founded < when expecting string delimeter
    I can do it without the cycle, but then i have a string to large and receive errors like, "result of string concatenation is too long" or "string literal is too long" or even "missing expression".

    any help would be appreciated.

    Thanks,


    EDITED: ok, done
    Last edited by Jlorga; 03-07-2006 at 07:03 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1