Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id A20729FB8C1 for ; Thu, 8 Mar 2007 09:23:54 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-new, port 10024) with ESMTP id 50668-03 for ; Thu, 8 Mar 2007 09:23:41 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by postgresql.org (Postfix) with ESMTP id 4986F9FB86D for ; Thu, 8 Mar 2007 09:23:51 -0400 (AST) Received: by ug-out-1314.google.com with SMTP id k3so888500ugf for ; Thu, 08 Mar 2007 05:23:49 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=QrO+QxqHf/VeuvKgh6aVVWtRmF/tfJdMJWYKW2oAQ/dyoWfhdXlt4EeULHR5m6tI7xWKcIrModbHbR8Bmai3x7iDxnbf/sKa0Nml7Yi3ii3avIFsRa0AYtFldnCqvGhY3HZia91uDkrfy/z/TK4ZqcS5i3bRRnF4XJl1cexMlvQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Seqa8K0owPAI00XacWckDp2h/q1g1ohbPIC49a+iLWwCPXcd8nRTmSPAHTX8O2LYkEOto7QGh5Sl+vnZkCpNYBXBBofZC+FB/IONMBMaAmH/ApiFQ6s/nPJ+BKTjQXf8zC1GukvFs9GqyXK2quUDOxt7UcaV+aJu9bSw0p4Yy14= Received: by 10.114.12.9 with SMTP id 9mr138566wal.1173360228950; Thu, 08 Mar 2007 05:23:48 -0800 (PST) Received: by 10.114.37.14 with HTTP; Thu, 8 Mar 2007 05:23:48 -0800 (PST) Message-ID: <8398dc6d0703080523u458ab8dcw9ea6626ca3feb84a@mail.gmail.com> Date: Thu, 8 Mar 2007 10:23:48 -0300 From: "Alejandro D. Burne" To: pgsql-odbc@postgresql.org Subject: Re: examples VFP with Postgresql In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <8398dc6d0703080426hc9907det376df423e8756a23@mail.gmail.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200703/53 X-Sequence-Number: 8731 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