Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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,


--
Jlorga
------------------------------------------------------------------------
Jlorga's Profile: http://www.excelforum.com/member.php...o&userid=31707
View this thread: http://www.excelforum.com/showthread...hreadid=519331

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Reseting to 0. GEM Excel Discussion (Misc queries) 3 April 3rd 09 12:22 AM
VBA reseting variables Jeff Excel Discussion (Misc queries) 0 February 4th 06 08:22 PM
VBA reseting variables bpeltzer Excel Discussion (Misc queries) 0 February 4th 06 03:52 PM
name box reseting lrod1843 Excel Discussion (Misc queries) 1 June 16th 05 12:51 AM
Reseting integers Momo Excel Programming 1 February 28th 05 11:39 AM


All times are GMT +1. The time now is 04:02 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"