Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-odbc by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group