PQresultStatus use for error handling.
*** This is a part of the postgres manual ***
PQresultStatus Returns the result status of the query. PQresultStatus can
return one of the following values:
PGRES_EMPTY_QUERY,
PGRES_COMMAND_OK, /* the query was a command returning no data */
PGRES_TUPL
-Original Message-
From: Alex Bolenok [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 24, 2000 12:09 PM
To: anuj
Cc: pgsql-general
Subject: Re: [GENERAL] how connect visual basic to pgsql?
>> This deriver made for Win95.
>> I am using Win-Nt-Wks-4.0.
>> Is this po
d FTP working fine.).
Other side I have VB-6.0 on Windows-NT-Workstations 4.0.
I want connectivity VB (front-end) and PG(Back-end).
When I do connectivity then error come - "Provider cannot be found. It may
not be properly installed."
Why does this error come ?
Thanks in advance
Anuj
Smith
Sent: Thursday, July 20, 2000 5:21 PM
To: anuj
Cc: [EMAIL PROTECTED]
Subject: Re: [GENERAL] Return PGresult
anuj wrote:
>
> Hi,
> PGresult is a structure.
> I want to return PGresult pointer.(Code is given below.)
> Is this possible ? if yes , please give me the solution.
&g
Hi,
PGresult is a structure.
I want to return PGresult pointer.(Code is given below.)
Is this possible ? if yes , please give me the solution.
Thanks in Advance.
Anuj
===
/* tempdb=>create table tbltemp (id int4, name varchar(30)); */
#include
#include
main()
{