ro***********@shaw.ca wrote:
On 28 May, 19:08, "Bob Barrows [MVP]" <reb01...@NOyahoo.SPAMcom>
wrote:
>rocketboy2...@shaw.ca wrote:
>>could anyone provide me with some simple example code of asp classic
calling adodb? specifically, i'd like the code to:
- call a couple of stored procedures that have optional parameters
- share a connection over the two calls
>>any assistance greatly appreciated and thanks in advance.
http://groups.google.com/group/micro...ng.vbscript/ms...
>
thanks bob,
your code provides an error... for me at least.
in ie7, SpConnectInfo.htm gives:
Line: 19
Char: 1
Error: Object required: 'parent.document.all.tags(...).item(...)'
Code: 0
".htm"? "parent.document"?
This is an asp group. I can guarantee you that since my code was
intended to be used in server-side code in a .asp page, none of the code
I provided contained a reference to client-side objects like "parent"
and "document". Why do you think it's my code that is causing the error?
:-)
You are attempting to directly connect to a database in client-side
code? I'm sure there may be some security settings that may be
preventing this. Even moreso, I know there are many reasons for you not
to be attempting to do this.
Anyways, without seeing the code you are using, it is impossible for
anyone to troubleshoot your problem, which may have nothing at all to do
with the whatever method you chose to execute the stored procedure. Then
again, it might. Impossible to say.
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.