On Sat, 18 May 2002, mordicus wrote:
> faile with a message ?
No there is nothing. Only my own error trap.
> in your function CPatient::ApplyData(CDataBase* pData)
> "ret" should not be 0 since it's an integer ?
Ok, I'll change that.
> if (Ok = SQL_SUCCEEDED(SQLBindParameter(pData->GetHandle(), 1,
> SQL_PARAM_OUTPUT, SQL_C_LONG, SQL_INTEGER, 0, 0, &nParent, 0, &ret)))
>
> Ok, so, if i understand, with psql when you do
>
> select apply_parent_details(...your params...) it work and
> in your code, when you do the same think it faile ?
Yes, exactly.
> Can you active sql log to see what happend ?
How do I do that?
> I've tested with my own code, and it work well.
Tested what?
> Can you send me the shema of your database ?
Sure. Will a dump() do?
--
Regards,
Wm. G. Urquhart
Custom Software Solutions
http://www.wurquhart.co.uk