D dlstites Member² Jan 11, 2002 #1 I tried the following and it wouldn't compile TOracleDataSet *Ods = new TOracleDataSet(); I have a non-visual component where I would like to dynamically create a data set and the delete. Thanks in advance
I tried the following and it wouldn't compile TOracleDataSet *Ods = new TOracleDataSet(); I have a non-visual component where I would like to dynamically create a data set and the delete. Thanks in advance
L ltd Member² Jan 14, 2002 #1 Hi, the Oracledataset constructor has the Owner as parameter so you should use the following: TOracleDataSet *Ods=new TOracleDataSet(NULL); When you use NULL you have to delete the instance by yourself !!!! Lars
Hi, the Oracledataset constructor has the Owner as parameter so you should use the following: TOracleDataSet *Ods=new TOracleDataSet(NULL); When you use NULL you have to delete the instance by yourself !!!! Lars