Index of fields
Ruslan Zasukhin
sunshine at public.kherson.ua
Sat Dec 18 15:31:09 CST 2004
On 12/18/04 3:27 PM, "Ralf Sander" <ralf at end-if.de> wrote:
Hi Ralf,
> Hi Ruslan,
> yes, but but nevertheless I have a lot of records to loop through.
I do not understand about which loop you talk here ?
> What I have in mind:
> I want to create a visual representation of record creation dates and
> times. This could be a lot of values and creating this chart could take
> some time.
> Accessing the values in the index would be much faster, I
> think.
NO. Index is complex structure. It is hidden even from C++ developers.
NO WAY.
And values are not listed in the index one by one.
They are spread in the whole index.
> The need for speed, you know ;-)
>
> Cheers,
> Ralf
>
>
>> On 12/18/04 3:28 AM, "Ralf Sander" <ralf at end-if.de> wrote:
>>
>> Hi Ralf,
>>
>> Wait a moment. My last advice was to use query with DISTINCT.
>>
>> curs = db.SqlSelect( "SELECT DISTINCT name from T" )
>>
>> Now you get cursor with unique vales from field. Sorted btw.
>>
>> So no need to loop
--
Best regards,
Ruslan Zasukhin [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com
To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------
More information about the Valentina
mailing list