Re: Locate on Max() and Group By

From: "A(dot) Snelders" <asnelders(at)rem(dot)nl>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Locate on Max() and Group By
Date: 2001-08-30 13:56:56
Message-ID: 9mlgnd$1lhr$1@news.tht.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I have found the answer:
In my ODBC-Driver by Driver, Optie Text as LongVarChar, this must be False
(I had True)
Now it works.

"A. Snelders" <asnelders(at)rem(dot)nl> wrote in message
news:9miq6o$12el$1(at)news(dot)tht(dot)net(dot)(dot)(dot)
> 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
>
> but when I open the table without Max() en group By like
>
> select dnkey, dvnaam as dvnaam2 from tbmedewerker
>
> then 'Hallo' is find.
>
> How can I fixed this problem?
> I working with PostgreSQL 7.1 and Delphi 5
>
>
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Larry Rosenman 2001-08-30 14:07:32 Re: --enable-syslog and Solaris 7
Previous Message Alex Pilosov 2001-08-30 13:49:47 PostgreSQL rocks ;)