pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alejandro D. Burne <alejandro.dburne@gmail.com>
To: pgsql-odbc@postgresql.org
Subject: Re: examples VFP with Postgresql
Date: Thu, 8 Mar 2007 10:23:48 -0300
Message-ID: <8398dc6d0703080523u458ab8dcw9ea6626ca3feb84a@mail.gmail.com> (raw)
In-Reply-To: <BAY106-F28EC6A8A9B6424BA2CACA5C0790@phx.gbl>
References: <8398dc6d0703080426hc9907det376df423e8756a23@mail.gmail.com>
	<BAY106-F28EC6A8A9B6424BA2CACA5C0790@phx.gbl>

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



view thread (6+ messages)  latest in thread

Message-ID: <8398dc6d0703080523u458ab8dcw9ea6626ca3feb84a@mail.gmail.com>
Permalink:  ../8398dc6d0703080523u458ab8dcw9ea6626ca3feb84a@mail.gmail.com/
Also on:    postgresql.org/message-id/8398dc6d0703080523u458ab8dcw9ea6626ca3feb84a@mail.gmail.com

 · 

reply

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: alejandro.dburne@gmail.com
  Subject: Re: examples VFP with Postgresql
  In-Reply-To: <8398dc6d0703080523u458ab8dcw9ea6626ca3feb84a@mail.gmail.com>
  References: <8398dc6d0703080426hc9907det376df423e8756a23@mail.gmail.com> <BAY106-F28EC6A8A9B6424BA2CACA5C0790@phx.gbl> <8398dc6d0703080523u458ab8dcw9ea6626ca3feb84a@mail.gmail.com>

* 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