oConnection = CreateObject("adodb.connection") with oConnection .Provider = "MSDAORA" .ConnectionString = "Persist Security Info=False;Password=quest;User ID=quest;Data Source=TJM" .Open endwith oCommand = CreateObject("adodb.command") with oCommand .ActiveConnection = oConnection .commandtext = "GetStatus" .CommandType = ADCMDSTOREDPROC .Parameters.append(.CreateParameter("RETURN_VALUE",3,4,0)) .Parameters.append(.CreateParameter('p_mainkey',adVarchar,adParamInput,10,'0000000046')) .Parameters.append(.CreateParameter('p_module',adInteger,adParamInput,1,1)) .Execute endwith ?oCommand.Parameters(0).ValueThe strange part is that as soon as I execute this code I get to the lines..