Re: Handling data in libpq - Mailing list pgsql-interfaces

From am@fx.ro
Subject Re: Handling data in libpq
Date
Msg-id 20021019231232.A247@coto
Whole thread Raw
In response to Re: Handling data in libpq  ("John L. Turner" <jlt@wvinter.net>)
List pgsql-interfaces
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)


pgsql-interfaces by date:

Previous
From: "John L. Turner"
Date:
Subject: Re: Handling data in libpq
Next
From: "Uday"
Date:
Subject: PGLOG problem