X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id E6A28329FD3 for ; Mon, 27 Sep 2004 21:10:59 +0100 (BST) 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 23497-02 for ; Mon, 27 Sep 2004 20:10:52 +0000 (GMT) Received: from gk-us2.michelin.com (gk-us2.michelin.com [156.65.14.19]) by svr1.postgresql.org (Postfix) with ESMTP id 55021329F97 for ; Mon, 27 Sep 2004 21:10:53 +0100 (BST) Received: from ONCMH1.onc.michelin.com (unverified) by gk-us2.michelin.com (Content Technologies SMTPRS 4.3.10) with ESMTP id for ; Mon, 27 Sep 2004 16:03:45 -0400 Received: from oncmtap1.onc.michelin.com by oncmh1.onc.michelin.com with ESMTP for pgsql-odbc@postgresql.org; Mon, 27 Sep 2004 16:06: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 I4PUQ000.5JR for ; Mon, 27 Sep 2004 16:10:48 -0400 Received: from us.michelin.com (unverified) by oncems01.onc.michelin.com (Content Technologies SMTPRS 4.2.5) with ESMTP id ; Mon, 27 Sep 2004 16:10:48 -0400 Message-Id: <415873C6.9080708@us.michelin.com> Date: Mon, 27 Sep 2004 16:10:46 -0400 From: "Greg Campbell" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Merlin Moncure Cc: pgsql-odbc@postgresql.org Subject: Re: basic questions with odbc and visual basic. References: <6EE64EF3AB31D5448D0007DD34EEB3412A74C6@Herge.rcsinc.local> In-Reply-To: <6EE64EF3AB31D5448D0007DD34EEB3412A74C6@Herge.rcsinc.local> Content-Type: multipart/mixed; boundary="------------080409040309050309090707" X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.1 tagged_above=0.0 required=5.0 tests=RCVD_IN_RFCI X-Spam-Level: X-Archive-Number: 200409/76 X-Sequence-Number: 4451 This is a multi-part message in MIME format. --------------080409040309050309090707 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Ahh, I see now. Well for reports, which are pretty much read-only as far as data concerned you have lots of freedom. For manipulating the data -- Access works pretty good as long as Access can know which record(s) to update (primary keys or OIDs -- that sort of thing). Merlin Moncure wrote: >>I too almost never use data-aware controls. I use ADO to get the data. >> >> >I > > >>use code to populate a grid. >>When a chnange event is fired, I use code to update the row in >> >> >question. > > >>Why all the work? >> >>Data aware controls tend to be heavy -- they don't know how users are >>going to use them -- so the code in them is not lean or application >>specific. They do code "under the covers" for lowest common >> >> >denominator > > >>in an MS presumed world. So if you are not using Access or SQLServer-- >>they tend to act funny -- in fact I found they act funny when you use >> >> >MS > > >>products. Some people use them with great success -- more RAD power >> >> >to > > >>them. I am old school and follow the axioms of transaction between >>client and server being resource expensive. I tend to code to get just >>the fields and records I need -- and update just the records I want. I >>try not to hold open a whole multi-row recordset, because I want to >>update 1 row. >> >> >>With luck someone else on the mailing list has advice for optimizing >>with data-aware controls. >> >> > >Right. I agree 100%...I think RAD tools make great screen designers and >get you into trouble if you take them beyond that. In fact, I would >never even be looking at VB except I have to train a couple of VB >jockeys from another company on how to access our system so they can >make simple forms and run reports. > >My initial thought was to build views on the server encapsulating the >more complex aspects of the database design for the vb guys to read and >write from. I had hoped that it would be relatively easy to bind these >views to various Microsoft stuff...and it is, but in a slightly more >code intensive way than I had expected. I may try giving the ole db >driver a shot and see if it provides better results. > >Merlin > > > > > > >---------------------------(end of broadcast)--------------------------- >TIP 9: the planner will ignore your desire to choose an index scan if your > joining column's datatypes do not match > > --------------080409040309050309090707 Content-Type: text/x-vcard; charset=utf8; 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;ENG-IT adr;dom:;;2420 Two Notch Road;Lexington;SC;29071 email;internet:greg.campbell@us.michelin.com title:Systems Engineer tel;work:803-951-5561 tel;fax:803-951-5531 x-mozilla-html:FALSE version:2.1 end:vcard --------------080409040309050309090707--