Thank you for your quick and thorough response. Too often, people seem to leave rather vague and generic answers linking to some microsoft article which bares minimum relevance. Your code is well written and actually worked the first time requiring me to only modify a few variable names.
Main Topics
Browse All Topics





by: piomicePosted on 2003-02-11 at 16:08:54ID: 7930076
Try this code:
Name>;Uid= <YourUserN ame>;Pwd=< YourPasswo rd>;"
TypeAdd"
n", adNumeric, adParamReturnValue)
, adChar, adParamInput, 80, "any string with fewer than 80 chars")
dim cn as new ADODB.Connection
dim cmd as new ADODB.Command
dim prm as ADODB.Parameter
cn.ConnectionString = "Driver={Microsoft ODBC for Oracle};Server=<YourServer
cn.Open
cmd.ActiveConnection = cn
cmd.CommandType = adCmdStoredProc
cmd.CommandText = "pkgSpxLookups.fnAEOutcome
Set prm = cmd.CreateParameter("Retur
cmd.Parameters.Append prm
Set prm = cmd.CreateParameter("prm1"
cmd.Parameters.Append prm
cmd.Execute , , adExecuteNoRecords