Assigned & TADODataset
- From: "pilmart" <martin.scullion@xxxxxxxxxxxxx>
- Date: 19 Sep 2006 01:38:31 -0700
Hi There
Can somebody please tell me why code such as :-
var
myDS : TADODataset;
begin
if Assigned(myDS) then
showmessage('Assigned')
else
showMessage('unassigned');
end;
Seems to indicate that the dataset(myDS) is assigned and ready for use before I have even created it !!.
It's probably a fault with my understanding of the Assigned function, but I would still like to know.
As a side issue how do I check that a dataset is ready for use i.e. created ??
Many thanks - Martin
.
- Follow-Ups:
- Re: Assigned & TADODataset
- From: Bill Todd
- Re: Assigned & TADODataset
- Prev by Date: Manipulate Schema before SafeToFile(XML)
- Next by Date: Re: Windows Service & ADO problem
- Previous by thread: Manipulate Schema before SafeToFile(XML)
- Next by thread: Re: Assigned & TADODataset
- Index(es):