Re: Handling data in libpq

Поиск
Список
Период
Сортировка
От am@fx.ro
Тема Re: Handling data in libpq
Дата
Msg-id 20021019231232.A247@coto
обсуждение исходный текст
Ответ на Re: Handling data in libpq  ("John L. Turner" <jlt@wvinter.net>)
Список 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 по дате отправления:

Предыдущее
От: "John L. Turner"
Дата:
Сообщение: Re: Handling data in libpq
Следующее
От: "Uday"
Дата:
Сообщение: PGLOG problem