[Oledb-dev] Query parameters?
Marko Bozikovic
bozho at kset.org
Thu Oct 19 06:57:33 UTC 2006
Victor Snezhko wrote:
> Marko Bozikovic <bozho at kset.org> writes:
>
>> insertDepartment.Open returns DB_E_PARAMNOTOPTIONAL. Here's the relevant part
>> of the log file (execution of Open):
>>
>> IDBCreateCommandImpl::CreateCommand
>> IObjectWithSiteImpl::SetSite
>> CPgCommand::SetCommandText "SELECT insert_department(?)"
>> ICommandTextImpl::SetCommandText
>> CPgCommand::SetParameterInfo
>> CErrorLookupService::ClearErrorIAccessorImpl::CreateAccessor
>> CPgCommand::Execute
>> CErrorLookupService::ClearErrorCPgCommand::FillParams
>> CErrorLookupService::ClearErrorICommandTextImpl::GetCommandText
>> IObjectWithSiteImpl::GetSite
>> IAccessorImpl::GetBindingsCPgCommand::Execute error: FillinValues failed
>> CErrorLookupService::ReportCustomError HRES 80040e10:
>> FillinValues failed
>>
>>
>> My guess is that there is a problem with parsing input parameter(s), since
>> executing procedures without IN parmeters (just OUT) works ok.
>>
>> Can anyone help me?
>
> This should be fixed in the CVS, but no releases have been made since
> then.
I tried the CVS version, but SetParameterInfo is called only from
SetCommandText, with SetParameterInfo(0, NULL, NULL), and I didn't see any
other place where parameters are parsed...
--
Marko
ICQ: 5990814
I'm not under the alkafluence of inkahol
that some thinkle peep I am.
It's just the drunker I sit here the longer I get.
More information about the Oledb-devel
mailing list