Paul Mckenzie said: > How do I setup a ClientDataSet as an In-Memory Table ? > > I have been told that this can be done - I am > starting to doubt it though...
Doubt not. I'm not anywhere near any code but it can be done and I have done it many times. Someone will post some code, it's fairly simple. A couple of hints... You can set up all the fields in code, add all the data in code, BUT, the index(es) must be added after you have added all the data - at least that was a problem a few years ago and may have been solved by now. There are several ways, with and without a Providor. Without a providor, you cannot set it active in design mode - runtime only. I have used a single TClientDataSet and set up various temporary tables, destroyed them and rebuilt them in another format, all on a single report. Makes for screamingly fast reports when faced with one of those "8+ hours report" combining bits and pieces from all over the show, doing fancy graphics and code-designed columns in sub-reports depending on the data for that page etc. Anyone out there code a code snippet? Steve Peacocke 0274 100-122 _______________________________________________ Delphi mailing list [EMAIL PROTECTED] http://ns3.123.co.nz/mailman/listinfo/delphi
