X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 1B6BEDB73B for ; Tue, 15 Nov 2005 12:58:25 -0400 (AST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 53636-08 for ; Tue, 15 Nov 2005 16:58:22 +0000 (GMT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from svr2.postgresql.org (svr2.postgresql.org [65.19.161.25]) by svr1.postgresql.org (Postfix) with ESMTP id AC95FDB6AA for ; Tue, 15 Nov 2005 12:58:21 -0400 (AST) Received: from hotmail.com (bay102-f9.bay102.hotmail.com [64.4.61.19]) by svr2.postgresql.org (Postfix) with ESMTP id 250C4F124B for ; Tue, 15 Nov 2005 16:58:20 +0000 (GMT) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 15 Nov 2005 08:58:19 -0800 Message-ID: Received: from 64.4.61.200 by by102fd.bay102.hotmail.msn.com with HTTP; Tue, 15 Nov 2005 16:58:18 GMT X-Originating-IP: [195.245.100.11] X-Originating-Email: [john_langdon@hotmail.com] X-Sender: john_langdon@hotmail.com From: "john m langdon" To: pgsql-odbc@postgresql.org Subject: PgSQL ODBC, ADO and output parameters Date: Tue, 15 Nov 2005 16:58:18 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 15 Nov 2005 16:58:19.0286 (UTC) FILETIME=[C7822B60:01C5EA05] X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=1.919 required=5 tests=[DNS_FROM_RFC_ABUSE=0.479, DNS_FROM_RFC_POST=1.44, MSGID_FROM_MTA_HEADER=0] X-Spam-Score: 1.919 X-Spam-Level: * X-Archive-Number: 200511/163 X-Sequence-Number: 6399 Hi I have tried using the 'OUT' parameters for functions in Version 8.1 with Visual Basic 6, ADO and the PGSQL ODBC driver Version 8.01. I have a function with one OUT parameter declared in my database, and when I try and connect to it in VB using this parameter definition I get an error in Visual Basic: Run-time error '-2147467259' The VB code: Set myADOParamter = myADOCommand.CreateParameter("f1", adInteger, adParamOutput)