Subject Re: [IBO] Howto iterate through all selected rows
Author Lucas Franzen
Helmut Steinberger schrieb:
>
> "Am Thu, 22 Nov 2001 07:22:06 +0000 (UTC), schrieb mirco@...
>
> >Thank you, but this does not answer my question. I was asking how to
> >iterate through all *selected* rows... the ones that the user clicked
> >in a grid with multi-select. Those rows have the Selected[] property
> >set.
>
> Ups, sorry, I didn't read exactly enough.
>
> I iterate through all selected records using selectedbookmarks to get
> a stringlist with all selected bookmarks and then iterate through this
> stringlist. I never got any problem with to few memory by using that
> way. Why do you fear to get memoryproblems?
> As far as I figured out, there are 12 bytes for each bookmark, which
> means, that there are 1,2 Mb for 100000 selected records. I cannot
> beleave, that this is a problem for a modern pc.

And beyond that: why would you want to select 100000 records?
What for???

If you want to do any kind of process on them I think it will take days
to select them ...

Luc.