Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: not all variables bound
tojo wrote:
> In article <40f3bf02$0$92613$ed2619ec_at_ptn-nntp-reader02.plus.net>, > info_at_quantarc.co.uk says... >
> > Maybe you could post the VB code? Are you binding an input parameter for > the "?", something like this: > > Set cmd = New ADODB.Command > With cmd > .CommandText = "{call TEST.FOO( ? )}" > .CommandType = adCmdText > .Parameters.Append .CreateParameter("mynum", blah....) > Set .ActiveConnection = g_conn > Set rst = .Execute() > End With > > Did you see the VB examples for OLE-DB, the one that uses a stored > function to return a rowset? It should be just what you need. > > -- Tom
hey tom, the vb will just be like this...
objRS.Open objConn, "{call TEST.FOO( ? )}", etc...
i'm not using a command object to bind any variables because i want to use the defaults that are set up in the package (-1 in this example). i did see the article, that's where i found out how to return recordsets this way, it's just default variables are never covered in it, ack!
would binding parameters with the command object help then... i thought you would only want o do that if you were either passing variables in, or getting information back. hmmm...
thanx for ur time btw.
rod. Received on Tue Jul 13 2004 - 08:51:31 CDT