470,614 Members | 1,458 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,614 developers. It's quick & easy.

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('Whatever ;)')");
Query1->Params->CreateParam(ftBoolean, "bPlace", ptOutput);
Query1->ExecSQL();
bResult=Query1->Params->Items[0]->AsBoolean;

Has someone perhaps any idea how to manage it?

greetings
Michal
Jul 19 '05 #1
1 5142
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

Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Mario T. Lanza | last post: by
12 posts views Thread by Arda Han | last post: by
8 posts views Thread by JackRazz | last post: by
2 posts views Thread by David Veeneman | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.