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 D8E3F9DCA24 for ; Sat, 7 Jan 2006 00:49:23 -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 86903-05 for ; Sat, 7 Jan 2006 00:49:22 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from imf25aec.mail.bellsouth.net (imf25aec.mail.bellsouth.net [205.152.59.73]) by postgresql.org (Postfix) with ESMTP id 23E399DCA16 for ; Sat, 7 Jan 2006 00:49:20 -0400 (AST) Received: from ibm69aec.bellsouth.net ([70.146.185.252]) by imf25aec.mail.bellsouth.net with ESMTP id <20060107044920.HJDJ16856.imf25aec.mail.bellsouth.net@ibm69aec.bellsouth.net> for ; Fri, 6 Jan 2006 23:49:20 -0500 Received: from [192.168.1.46] (really [70.146.185.252]) by ibm69aec.bellsouth.net with ESMTP id <20060107044920.FCKU10934.ibm69aec.bellsouth.net@[192.168.1.46]>; Fri, 6 Jan 2006 23:49:20 -0500 Message-ID: <43BF481C.3070608@gmail.com> Date: Fri, 06 Jan 2006 22:48:28 -0600 From: Adam Biser User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Campbell, Greg" CC: Ludek Finstrle , pgsql-odbc@postgresql.org Subject: Re: Parameters.Refresh error. References: <43BAD33D.1000302@gmail.com> <20060106084609.GA7100@soptik.pzkagis.cz> <43BECB1E.4090509@gmail.com> <43BF0873.7000403@us.michelin.com> In-Reply-To: <43BF0873.7000403@us.michelin.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.08 required=5 tests=[AWL=0.080] X-Spam-Score: 0.08 X-Spam-Level: X-Archive-Number: 200601/53 X-Sequence-Number: 6868 Campbell, Greg wrote: > Is there a parameterized statement, without a stored procedure/user > defined function, that can just act against a table, like "INSERT INTO > mytable (fld1, file2) VALUES (?, ?)" Yes, there is, and this is what I'm trying to use. You set the .CommandType to adCmdText, I believe (I don't have the code on this machine). When using .Refresh (yes, I know it's probably a bit slower than adding them manually), the parameters would be added "behind-the-scenes" according to the table(s) against which you are running the command. It sounds like the whole parameters part, whether by stored procs or SQL are not yet implemented.