Código Delphi [-] if ds=nil then ds.create(self) else ds.free;
if ds=nil then ds.create(self) else ds.free;