From: | "Bart Degryse" <Bart(dot)Degryse(at)indicator(dot)be> |
---|---|
To: | <pgsql-sql(at)postgresql(dot)org> |
Subject: | Re: slow query execution |
Date: | 2007-05-31 07:24:04 |
Message-ID: | 465E9434.A3DD.0030.0@indicator.be |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
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(at)yahoo(dot)com> 2007-05-30 21:11 >>>
>----- Original Message ----
>From: Richard Huxton <dev(at)archonet(dot)com>
>To: Trigve Siver <trigves(at)yahoo(dot)com>
>Cc: pgsql-sql(at)postgresql(dot)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.
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
From | Date | Subject | |
---|---|---|---|
Next Message | Trigve Siver | 2007-05-31 07:46:38 | Re: slow query execution |
Previous Message | Trigve Siver | 2007-05-30 19:11:37 | Re: slow query execution |