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 2533C9DC829 for ; Sun, 8 Jan 2006 18:16:52 -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 99499-01 for ; Sun, 8 Jan 2006 18:16:53 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from gk-us2.us.michelin.com (gk-us2.michelin.com [156.65.14.19]) by postgresql.org (Postfix) with ESMTP id 730FF9DC81B for ; Sun, 8 Jan 2006 18:16:48 -0400 (AST) Received: from oncpfxp4-out.onc.michelin.com (unverified [10.21.4.32]) by gk-us2.us.michelin.com (Clearswift SMTPRS 5.1.7) with ESMTP id for ; Sun, 8 Jan 2006 17:00:44 -0500 Received: from ONCMH1.onc.michelin.com (ONCMH1.onc.michelin.com [156.65.124.40]) by oncpfxp4-out.onc.michelin.com (Postfix) with ESMTP id EB00F16D0B for ; Sun, 8 Jan 2006 16:55:36 -0500 (EST) Received: from oncmtap1.onc.michelin.com by oncmh1.onc.michelin.com with ESMTP for pgsql-odbc@postgresql.org; Sun, 8 Jan 2006 16:55:36 -0500 Received: from oncems01.onc.michelin.com ([156.65.125.150]) by oncmtap1.onc.michelin.com (Netscape Messaging Server 4.15) with ESMTP id ISSNKO00.A26 for ; Sun, 8 Jan 2006 16:55:36 -0500 Received: from [10.36.138.40] (unverified) by oncems01.onc.michelin.com (Content Technologies SMTPRS 4.2.5) with ESMTP id for ; Sun, 8 Jan 2006 16:55:35 -0500 Message-Id: <43C18A53.2030108@us.michelin.com> Date: Sun, 08 Jan 2006 16:55:31 -0500 From: "Campbell, Greg" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.7) Gecko/20050414 X-Accept-Language: en-us, en MIME-Version: 1.0 To: 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> <43BF481C.3070608@gmail.com> <43C13F42.9090102@us.michelin.com> In-Reply-To: <43C13F42.9090102@us.michelin.com> Content-Type: multipart/mixed; boundary="------------070800080409060801050608" X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=2.185 required=5 tests=[AWL=0.033, RCVD_IN_WHOIS_INVALID=2.151, UNPARSEABLE_RELAY=0.001] X-Spam-Score: 2.185 X-Spam-Level: ** X-Archive-Number: 200601/66 X-Sequence-Number: 6881 This is a multi-part message in MIME format. --------------070800080409060801050608 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit oops,..goofy typing. Is that "Yes there is.., parameterization on a SELECT or DML statement is a valid VB/MS data access technique",.. or is that "Yes, I or someone I know has done this is pgodbc"? Campbell, Greg wrote: > Yes there is from the VB, data accees techniques side,.. > or yes from the I or somebody I know has done this with pgodbc side? > > > > Adam Biser wrote: > >> 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. >> >> ---------------------------(end of broadcast)--------------------------- >> TIP 3: Have you checked our extensive FAQ? >> >> http://www.postgresql.org/docs/faq > > > ------------------------------------------------------------------------ > > > ---------------------------(end of broadcast)--------------------------- > TIP 1: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly --------------070800080409060801050608 Content-Type: text/x-vcard; charset=utf-8; name="greg.campbell.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="greg.campbell.vcf" begin:vcard fn:Greg Campbell n:Campbell;Greg org:Michelin North America - US5 Lexington;ENG-ASE email;internet:greg.campbell@us.michelin.com title:ASE Systems Engineer tel;work:803-951-5561/x75561 x-mozilla-html:FALSE version:2.1 end:vcard --------------070800080409060801050608--