Actually I need filter data in some results of a query, search text, order or conditions some times. But I prefer collect the data into a StringGrid and close conecction for now, but some of that methods are very hard to implement, I found a tutorial about TBufDataset (
http://wiki.freepascal.org/How_to_write_in-memory_database_applications_in_Lazarus/FPC ) but I don't know if I can use it for that purpose, sort, find, order... etc without stablish a connection again and perform that operations and display into a DBGrid maybe, Is there any example/tutorial how to use TBufDataset?. Thanks guys.