Zeos components

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Micha³ Wróblewski

    Zeos components

    Hello,

    I'm using Zeos components (6.0.12) to connect to PostgreSQL DB 7.3.1.

    Stored procedure (InsertPlace) doesn't work when called using
    Zeos component.
    It should return "true" or "false".

    Code:
    Query1->SQL->Clear();
    Query1->Params->Clear();
    Query1->SQL->Add("select InsertPlace('Wh atever ;)')");
    Query1->Params->CreateParam(ft Boolean, "bPlace", ptOutput);
    Query1->ExecSQL();
    bResult=Query1->Params->Items[0]->AsBoolean;

    Has someone perhaps any idea how to manage it?

    greetings
    Michal
  • Micha³ Wróblewski

    #2
    Re: Zeos components

    I've forgotten to write what is wrong :) The result of the
    function is bad. When called direct (not using Zeos) then eveything
    is alright.

    greetings
    Michal

    Comment

    Working...