pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: am@fx.ro
To: pgsql-interfaces@postgresql.org
Subject: Re: Handling data in libpq
Date: Sat, 19 Oct 2002 23:12:32 +0300
Message-ID: <20021019231232.A247@coto> (raw)
In-Reply-To: <200210191046.51753.jlt@wvinter.net>
References: <80bf0666.0210170015.59e12eed@posting.google.com>
	<20021019110135.GX11228@xs4all.nl>
	<20021019184725.A313@coto>
	<200210191046.51753.jlt@wvinter.net>

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)



view thread (5+ messages)

Message-ID: <20021019231232.A247@coto>
Permalink:  ../20021019231232.A247@coto/
Also on:    postgresql.org/message-id/20021019231232.A247@coto

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: am@fx.ro
  Subject: Re: Handling data in libpq
  In-Reply-To: <20021019231232.A247@coto>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox