Excellent thanks.
One got'cha 
If you make sure you do the Create DataSet
Then ensure you close all DataSets and only open as required...
You have to call Create DataSet again :-)

Regards
Paul McKenzie
Analyst Programmer
SMSS Ltd.
 
----- Original Message ----- 
From: "Sandeep Chandra" <[EMAIL PROTECTED]>
To: "NZ Borland Developers Group - Delphi List" <[EMAIL PROTECTED]>
Sent: Wednesday, March 10, 2004 2:40 PM
Subject: Re: [DUG] ClientDataSets as In-Memory Tables


> Hi Paul
> 
> U need to define fields and then call CreateDataset.
> 
> Regards
> 
> Sandeep
> 
> > How do I setup a ClientDataSet as an In-Memory Table ?
> >  
> > I have placed a TClientDataSet in the DataModule there is no Provider 
> > and no File.
> > I have tried creating FieldDefs, Persistant Fields, and both.
> > I want to be able to populate the Fields (many rows) of the 
> > ClientDataSet - Do some heavy processing - then just clear it.
> > I do not require any storage for the Data.
> >  
> > The problem is that when I set the DataSet Active - It blows up 
> > because there is no provider.
> > I have been told that this can be done - I am starting to doubt it 
> > though...
> >  
> > Regards
> > Paul McKenzie
> > Analyst Programmer
> > SMSS Ltd.
> >  
> >
> >------------------------------------------------------------------------
> >
> >_______________________________________________
> >Delphi mailing list
> >[EMAIL PROTECTED]
> >http://ns3.123.co.nz/mailman/listinfo/delphi
> >  
> >
> 
> _______________________________________________
> Delphi mailing list
> [EMAIL PROTECTED]
> http://ns3.123.co.nz/mailman/listinfo/delphi

_______________________________________________
Delphi mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to