Re: Locate on Max() and Group By - Mailing list pgsql-general

From Stephan Szabo
Subject Re: Locate on Max() and Group By
Date
Msg-id Pine.BSF.4.21.0108310734410.58756-100000@megazone23.bigpanda.com
Whole thread Raw
In response to Locate on Max() and Group By  ("A. Snelders" <asnelders@rem.nl>)
List pgsql-general
On Wed, 29 Aug 2001, A. Snelders wrote:

> I have the next problem:
>
> I open an table with
>
> select dnkey, Max(dvnaam) as dvnaam2, Max(dvpersoonnr) as dvpersoonnr   from
> tbmedewerker
> group by dnkey
>
> When I want to locate like
>
>     TblTbPGSMedew.Locate( 'dvnaam2', 'Hallo', [ ]);
>
> then 'Hallo' isn't find

Is 'Hallo' the maximum value for the group its in?  You may
want to turn up debugging to level 2 (I think that's the level)
so the queries sent get written to the log to see what's being
sent when you do the Locate().


pgsql-general by date:

Previous
From: plshelpme@my-deja.com (Pls Help Me)
Date:
Subject: Is it possible to default all number data to numeric type?
Next
From: Shaun Thomas
Date:
Subject: Re: Too many open files in system FATAL2