Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 385789FB73F for ; Thu, 31 May 2007 04:24:32 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 00540-01 for ; Thu, 31 May 2007 04:24:21 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from interscan.indicator.com (mail.indicator.be [193.121.199.3]) by postgresql.org (Postfix) with ESMTP id 8B80C9FB622 for ; Thu, 31 May 2007 04:24:22 -0300 (ADT) Received: from webaccess.indicator.be ([10.100.1.7]) by interscan.indicator.com with InterScan Message Security Suite; Thu, 31 May 2007 09:09:33 +0200 Received: from DOMEXT-MTA by webaccess.indicator.bewith Novell_GroupWise; Thu, 31 May 2007 09:24:19 +0200 Message-Id: <465E9434.A3DD.0030.0@indicator.be> X-Mailer: Novell GroupWise Internet Agent 7.0.1 Date: Thu, 31 May 2007 09:24:04 +0200 From: "Bart Degryse" To: Subject: Re: slow query execution References: <383089.24941.qm@web52712.mail.re2.yahoo.com> In-Reply-To: <383089.24941.qm@web52712.mail.re2.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=__Part0C2B1904.0__=" X-imss-version: 2.047 X-imss-result: Passed X-imss-approveListMatch: *@indicator.be X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.172 tagged_above=0 required=5 tests=AWL=0.220, BAYES_40=-0.185, FORGED_RCVD_HELO=0.135, HTML_MESSAGE=0.001, UNPARSEABLE_RELAY=0.001 X-Spam-Level: X-Archive-Number: 200705/203 X-Sequence-Number: 28483 --=__Part0C2B1904.0__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Am I right in assuming that you're working on a VB application with a = ListView AxtiveX Control in it? If so consider putting the value of the ID field of your table in the Tag = Property of each item in your listview. By looping over all items in your listview you can then check the property = for certain values and adjust other properties as required (eg highlight = them). Alternatively if you're working with ado you can store the records = bookmark in the tag property. That's particulary handy when you want=20 to look up information in a recordset when clicking on an item in the = listview. >>> Trigve Siver 2007-05-30 21:11 >>> >----- Original Message ---- >From: Richard Huxton >To: Trigve Siver >Cc: pgsql-sql@postgresql.org=20 >Sent: Wednesday, May 30, 2007 9:05:09 PM >Subject: Re: [SQL] slow query execution > >Trigve Siver wrote: >>=20 >> I seee...when new data will be added to table, then row numbers = wouldn''t be valid anymore. >>=20 >> Hmmm...looked like I need to find other solution. > >Try explaining what it is you're trying to achieve, and maybe someone=20 >will be able to suggest a solution. I need to perform search on some query (which is already shown in Listview = control) and=20 highlight items that meet search criteria. thanks=20 Trigve ___________________________________________________________________________= _________ Don't pick lemons. See all the new 2007 cars at Yahoo! Autos. http://autos.yahoo.com/new_cars.html=20 ---------------------------(end of broadcast)--------------------------- TIP 2: Don't 'kill -9' the postmaster --=__Part0C2B1904.0__= Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Description: HTML
Am I right in assuming that you're working on a VB application with a = ListView AxtiveX Control in it?
If so consider putting the value of the ID field of your table in = the Tag Property of each item in your listview.
By looping over all items in your listview you can then = check the property for certain values and adjust other properties = ;as required (eg highlight them).
Alternatively if you're working with ado you can store the records = bookmark in the tag property. That's particulary handy when you want =
to look up information in a recordset when clicking on an item in the = listview.

>>> Trigve Siver <trigves@yahoo.com> = 2007-05-30 21:11 >>>
>----- Original Message ----
>Fro= m: Richard Huxton <dev@archonet.com>
>To: Trigve Siver = <trigves@yahoo.com>
>Cc: pgsql-sql@postgresql.org
>Sent: = Wednesday, May 30, 2007 9:05:09 PM
>Subject: Re: [SQL] slow query = execution
>
>Trigve Siver wrote:
>>
>> I = seee...when new data will be added to table, then row numbers wouldn''t be = valid anymore.
>>
>> Hmmm...looked like I need to find = other solution.
>
>Try explaining what it is you're trying to = achieve, and maybe someone
>will be able to suggest a solution.
<= BR>I need to perform search on some query (which is already shown in = Listview control) and
highlight items that meet search criteria.
thanks

Trigve







_____________________= _______________________________________________________________
Don't = pick lemons.
See all the new 2007 cars at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html

---------------------------(end of broadcast)--------------------= -------
TIP 2: Don't 'kill -9' the postmaster
--=__Part0C2B1904.0__=--