Re: examples VFP with Postgresql

From: "Alejandro D(dot) Burne" <alejandro(dot)dburne(at)gmail(dot)com>
To: pgsql-odbc(at)postgresql(dot)org
Subject: Re: examples VFP with Postgresql
Date: 2007-03-08 13:23:48
Message-ID: 8398dc6d0703080523u458ab8dcw9ea6626ca3feb84a@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

2007/3/8, ionut ichim <ionutichim(at)hotmail(dot)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

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message ionut ichim 2007-03-08 13:38:18 Re: examples VFP with Postgresql
Previous Message ionut ichim 2007-03-08 13:02:44 Re: examples VFP with Postgresql