From: ionut ichim <ionutichim@hotmail.com>
To: pgsql-odbc@postgresql.org
Subject: Re: examples VFP with Postgresql
Date: Thu, 08 Mar 2007 13:38:18 +0000
Message-ID: <BAY106-F1652B3A6DAE74D277AE136C0790@phx.gbl> (raw)
In-Reply-To: <8398dc6d0703080523u458ab8dcw9ea6626ca3feb84a@mail.gmail.com>
ok.. thanks a lot
>From: "Alejandro D. Burne" <alejandro.dburne@gmail.com>
>To: pgsql-odbc@postgresql.org
>Subject: Re: [ODBC] examples VFP with Postgresql
>Date: Thu, 8 Mar 2007 10:23:48 -0300
>
>2007/3/8, ionut ichim <ionutichim@hotmail.com>:
>>Thanks for answer.
>>I'm interest how can i work with pg +VFP ... connections,sored
>>procedures,backup ,etc
>> Some links for simple examples, to test.
>
>First at all I'm using sqlpassthrough:
>
>a.Create connection:
>_Conn=SQLCONNECT('<ODBC Conn>','<user>','<pwd>')
>
>b.Run sql statement
>lResult=SQLEXEC(_Conn,"SELECT field1, field2... FROM
>table","<cursor_name>")
>IF lResult>0
> * all goes fine
>ELSE
> MESSAGEBOX(MESSAGE())
>ENDIF
>
>c.Disconnect
>lResult=SQLDISCONNECT(_Conn)
>
>Stores procedures, functions is like any other sql statement using psql.
>Backups -> RTFunnyM
>
>Alejandro
>
>---------------------------(end of broadcast)---------------------------
>TIP 5: don't forget to increase your free space map settings
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: ionutichim@hotmail.com
Subject: Re: examples VFP with Postgresql
In-Reply-To: <BAY106-F1652B3A6DAE74D277AE136C0790@phx.gbl>
References: <8398dc6d0703080523u458ab8dcw9ea6626ca3feb84a@mail.gmail.com> <BAY106-F1652B3A6DAE74D277AE136C0790@phx.gbl>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox