Page 1 of 1

efficient cursor

Posted: Sun 16 Mar 2008 22:52
by comvision
I'm new to MyDAC and db development in general. What's the best approach to use if I want to execute a query that returns a unidirectional dataset. All I want to do is collect data from the database that I then iterate once and store the data in memory (I'm using my own in-memory structures so the virtual table is not applicable for my needs).

Posted: Sun 16 Mar 2008 22:58
by comvision
Sorry, I think I found the answer. TMyQuery and its 'UniDirectional' property.