Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 6C7E19FB810 for ; Thu, 8 Mar 2007 09:38:29 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-new, port 10024) with ESMTP id 52140-04 for ; Thu, 8 Mar 2007 09:38:14 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from bay0-omc3-s23.bay0.hotmail.com (bay0-omc3-s23.bay0.hotmail.com [65.54.246.223]) by postgresql.org (Postfix) with ESMTP id 45DDB9FB732 for ; Thu, 8 Mar 2007 09:38:25 -0400 (AST) Received: from hotmail.com ([65.54.161.26]) by bay0-omc3-s23.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Thu, 8 Mar 2007 05:38:23 -0800 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 8 Mar 2007 05:38:23 -0800 Message-ID: Received: from 65.54.161.200 by by106fd.bay106.hotmail.msn.com with HTTP; Thu, 08 Mar 2007 13:38:18 GMT X-Originating-IP: [89.120.226.22] X-Originating-Email: [ionutichim@hotmail.com] X-Sender: ionutichim@hotmail.com In-Reply-To: <8398dc6d0703080523u458ab8dcw9ea6626ca3feb84a@mail.gmail.com> From: "ionut ichim" To: pgsql-odbc@postgresql.org Subject: Re: examples VFP with Postgresql Date: Thu, 08 Mar 2007 13:38:18 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 08 Mar 2007 13:38:23.0373 (UTC) FILETIME=[0AD79BD0:01C76187] X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=1.542 tagged_above=0 required=5 tests=AWL, BAYES_50, DNS_FROM_RFC_ABUSE, DNS_FROM_RFC_POST, MSGID_FROM_MTA_HEADER, SPF_PASS X-Spam-Level: * X-Archive-Number: 200703/54 X-Sequence-Number: 8732 ok.. thanks a lot >From: "Alejandro D. Burne" >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 : >>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('','','') > >b.Run sql statement >lResult=SQLEXEC(_Conn,"SELECT field1, field2... FROM >table","") >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/