Re: [Lazarus] Sorting BufferDataset

2020-04-17 Thread Joost van der Sluis via lazarus
Op 13-04-2020 om 13:59 schreef Santiago A. via lazarus: No need to create indexes or dropping indexes or changing fields of an index. Just leave IndexName blank and play with IndexFieldNames (that in fact changes the fields of index ''). and if you set  IndexFieldNames to blank it restores t

Re: [Lazarus] Sorting BufferDataset

2020-04-13 Thread Santiago A. via lazarus
El 13/4/20 a las 13:24, Michael Van Canneyt via lazarus escribió: The other one is for when you set the indexfields property directly, I think. That solves the my sorting problem!! No need to create indexes or dropping indexes or changing fields of an index. Just leave IndexName blank and pl

Re: [Lazarus] Sorting BufferDataset

2020-04-13 Thread Michael Van Canneyt via lazarus
On Mon, 13 Apr 2020, Santiago A. via lazarus wrote: El 13/4/20 a las 12:43, Michael Van Canneyt via lazarus escribió: So, if I want to process the dataset in different orders with TbufferDataset, before opening the dataset I must set MaxIndexesCount to all the orders I'm going to use. Yes.

Re: [Lazarus] Sorting BufferDataset

2020-04-13 Thread Santiago A. via lazarus
El 13/4/20 a las 12:43, Michael Van Canneyt via lazarus escribió: So, if I want to process the dataset in different orders with TbufferDataset, before opening the dataset I must set MaxIndexesCount to all the orders I'm going to use. Yes. Am I right? Or I have missed something? You are ri

Re: [Lazarus] Sorting BufferDataset

2020-04-13 Thread Michael Van Canneyt via lazarus
On Mon, 13 Apr 2020, Santiago A. via lazarus wrote: Hello: I'm trying to sort a TBufferDataset by several criteria, and I'm a little confused. There is no sort method, so I decided to use indexes, but I have a lot of doubts. When you close the TBufferDataset, all the data is cleaned.

[Lazarus] Sorting BufferDataset

2020-04-13 Thread Santiago A. via lazarus
Hello: I'm trying to sort a TBufferDataset by several criteria, and I'm a little confused. There is no sort method, so I decided to use indexes, but I have a lot of doubts. When you close the TBufferDataset, all the data is cleaned. TbufferDataset has a MaxIndexesCount that limits the numb