creating a dataset dynamically and assignning it t
hi all,
well, i have this problem i am creating a simple dataset set on the fly like this :-
objSimpleDS := TSimpleDataSet.Create(nil);
the problem is when i create it with nil the dataset doesn`t appear in the designer of th reports, i have to create it like this in order to view it in the designer:-
objSimpleDS := TSimpleDataSet.Create(form1);
anyone knows how to solve this problem,
i need to create the database with nil.
well, i have this problem i am creating a simple dataset set on the fly like this :-
objSimpleDS := TSimpleDataSet.Create(nil);
the problem is when i create it with nil the dataset doesn`t appear in the designer of th reports, i have to create it like this in order to view it in the designer:-
objSimpleDS := TSimpleDataSet.Create(form1);
anyone knows how to solve this problem,
i need to create the database with nil.
Comments
so because of that i am creating it with the nil parameter.
if there is no way that the designer recognize the dataset except with creating the dataset with an owner please tell me.