X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (mx2.hub.org [200.46.204.254]) by postgresql.org (Postfix) with ESMTP id 7BEE811F6930 for ; Mon, 17 Apr 2006 14:09:30 -0300 (ADT) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Score: -0.364 X-Spam-Level: X-Spam-Status: No, score=-0.364 required=5 tests=[BAYES_00=-2.599, RCVD_IN_WHOIS_INVALID=2.234, UNPARSEABLE_RELAY=0.001] Received: from postgresql.org ([200.46.204.71]) by localhost (mx2.hub.org [200.46.204.254]) (amavisd-new, port 10024) with ESMTP id 9l0MSGDqWsNy for ; Mon, 17 Apr 2006 14:09:26 -0300 (ADT) 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 0953411F693D for ; Mon, 17 Apr 2006 14:09:25 -0300 (ADT) 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 ; Mon, 17 Apr 2006 13:08:32 -0400 Received: from ONCMH1.onc.michelin.com (ONCMH1.onc.michelin.com [156.65.124.40]) by oncpfxp4-out.onc.michelin.com (Postfix) with ESMTP id 3886A17559 for ; Mon, 17 Apr 2006 13:09:21 -0400 (EDT) Received: from oncmtap1.onc.michelin.com by oncmh1.onc.michelin.com with ESMTP for pgsql-odbc@postgresql.org; Mon, 17 Apr 2006 13:09:20 -0400 Received: from oncems01.onc.michelin.com ([156.65.125.150]) by oncmtap1.onc.michelin.com (Netscape Messaging Server 4.15) with ESMTP id IXVMBK00.Q5U for ; Mon, 17 Apr 2006 13:09:20 -0400 Received: from [10.43.12.183] (unverified) by oncems01.onc.michelin.com (Content Technologies SMTPRS 4.2.5) with ESMTP id ; Mon, 17 Apr 2006 13:09:19 -0400 Message-Id: <4443CBBA.6030703@us.michelin.com> Date: Mon, 17 Apr 2006 13:09:14 -0400 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: "Sistemas C.M.P." CC: pgsql-odbc@postgresql.org Subject: Re: Error wirh text type field References: <443A108500000C95@www.zipmail.com.br> <003f01c66236$aa270dc0$0501a8c0@pcsistemas> In-Reply-To: <003f01c66236$aa270dc0$0501a8c0@pcsistemas> Content-Type: multipart/mixed; boundary="------------040206030107040104080606" X-Archive-Number: 200604/61 X-Sequence-Number: 7588 This is a multi-part message in MIME format. --------------040206030107040104080606 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Your English is fine. I did a Google search on "Multiple-step OLE DB operation generated errors" (with the quotes), and found many interesting hits. I believe the problem may be with the length of the data in the RichTextBox being either 0 or too long. There may be some settings in the ODBC driver to help (Text As LongVarChar, Max LongVarChar length). Does the length of the data affect the error: Len(RichTextBox.Text)? Could you reply with a small section of code (code snippet)? You might want to try to log (ODBC Driver setting MyLog). What version of pgodbc driver? What version of PostgreSQL? Sistemas C.M.P. wrote: > I'am using VisualBasic 6.0 + ODBC and I try to update text type field with the data of a RichTextBox. > The aplication show me this message (not usually). > > Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done. > > What can i do? > PD: I'm Sorry of my poor English. I'm From Argentina. > > Thanks --------------040206030107040104080606 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 --------------040206030107040104080606--