X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id D215F9DC822 for ; Tue, 20 Dec 2005 05:31:28 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 39707-05 for ; Tue, 20 Dec 2005 05:31:29 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from floppy.pyrenet.fr (floppy.pyrenet.fr [194.116.145.2]) by postgresql.org (Postfix) with ESMTP id 377F39DC82B for ; Tue, 20 Dec 2005 05:31:26 -0400 (AST) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id E311F33A61; Tue, 20 Dec 2005 10:31:27 +0100 (MET) From: "Andrus" X-Newsgroups: pgsql.interfaces.odbc Subject: Re: [ psqlodbc-Bugs-1000481 ] VFP and SQLCancel Date: Tue, 20 Dec 2005 11:31:10 +0200 Organization: Hub.Org Networking Services Lines: 34 Message-ID: References: <20051219170724.32D3511250B7@pgfoundry.org> <20051219191147.GA16217@soptik.pzkagis.cz> <20051219200734.GB16740@soptik.pzkagis.cz> X-Complaints-To: usenet@news.hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-RFC2646: Format=Flowed; Original To: pgsql-odbc@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.024 required=5 tests=[AWL=0.024, UPPERCASE_25_50=0] X-Spam-Score: 0.024 X-Spam-Level: X-Archive-Number: 200512/260 X-Sequence-Number: 6739 > Thanks a lot. Could you send copy here? So people could find solution > in mail archive in the future. Luf, I posted a sample VFP 9 code which callas Postgres ODBC: cConnString ="DRIVER={PostgreSQL Unicode};DATABASE=postgres;"+ ; "SERVER=127.0.0.1;PORT=5432;UID=postgres;PWD=aaaa;B9=0" nconnh=SQLSTRINGCONNECT(cconnstring) IF nconnh<=0 LOCAL laerror[1] AERROR(laError) MESSAGEBOX( laerror[1,2]) RETURN ENDIF TEXT TO csql CREATE temp table test ( test char(1)); insert into test values (''); select 0 as foo, 1 as bar from test ENDTEXT oCadapter = CREATEOBJECT('cursoradapter') oCadapter.DataSource= nconnh oCadapter.DataSourceType ="ODBC" oCadapter.SelectCmd = csql oCadapter.CursorFill() BROWSE Andrus.