Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id CF0CD475B8C for ; Sat, 19 Oct 2002 14:06:43 -0400 (EDT) Received: from corporate.fx.ro (corporate.fx.ro [193.231.208.29]) by postgresql.org (Postfix) with ESMTP id 6C57D475956 for ; Sat, 19 Oct 2002 14:06:42 -0400 (EDT) Received: from fx.ro (Beavis.fx.ro [193.231.208.21]) by corporate.fx.ro (8.10.1/8.10.1) with ESMTP id g9JI6jd19279 for ; Sat, 19 Oct 2002 21:06:45 +0300 Received: from coto (ppp01138.fx.ro [195.7.0.138]) by fx.ro (8.10.1/8.10.1) with ESMTP id g9JI6dp04470 for ; Sat, 19 Oct 2002 21:06:39 +0300 (EET DST) Received: by coto (Postfix, from userid 1000) id 6791715221; Sat, 19 Oct 2002 23:12:32 +0300 (EEST) Date: Sat, 19 Oct 2002 23:12:32 +0300 From: am@fx.ro To: pgsql-interfaces@postgresql.org Subject: Re: Handling data in libpq Message-ID: <20021019231232.A247@coto> References: <80bf0666.0210170015.59e12eed@posting.google.com> <20021019110135.GX11228@xs4all.nl> <20021019184725.A313@coto> <200210191046.51753.jlt@wvinter.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200210191046.51753.jlt@wvinter.net>; from jlt@wvinter.net on Sat, Oct 19, 2002 at 10:48:04AM -0400 X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200210/65 X-Sequence-Number: 3227 On Sat, Oct 19, 2002 at 10:48:04AM -0400, John L. Turner wrote: > Another way to look at it, is to create a TreeView, showing only part of the > data > > We do that for both our Customer's and Products Tables > First, select all the First Letters in a Customers Table's Last Name Field > Show the User That list of Characters [ A ... Z ] > >Then when the users Clicks (Selects) the Character, only those Last Names With > the Selected Character are fetched, and added to Treeview display > Ditto for Products, only they are Grouped by a Category, then any number of > Sub Categories, until the small group of products are shown > > After the TreeView item is selected, the focus is changed to the second page > of a Tab Form to allow each field to be edited This seems to be a useful strategy. But my program is ncurses-based , so i have no TreeViews. I hope i'll find a way to adapt somehow your idea of selecting first a group of tuples based on some criteria like the first letter. Thanks, Adrian Maier (am@fx.ro)