Subject | Re: [IBO] Howto iterate through all selected rows |
---|---|
Author | Helmut Steinberger |
Post date | 2001-11-22T12:02:56Z |
"Am Thu, 22 Nov 2001 07:22:06 +0000 (UTC), schrieb mirco@...
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.
cu
Helmut
>Thank you, but this does not answer my question. I was asking how toUps, sorry, I didn't read exactly enough.
>iterate through all *selected* rows... the ones that the user clicked
>in a grid with multi-select. Those rows have the Selected[] property
>set.
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.
cu
Helmut