TAdoData1 DataSource

From: Jeff Howard (jhoward_at_cubiscan.com)
Date: 02/18/05


Date: Fri, 18 Feb 2005 10:31:59 -0700

This is probably a seriously dumb question! I have a master field
relationship between to tables and while importing into the detail table I
want to enhance performance so I want to disable the AdoDataSet2 (detail
table) datasource that points back to the AdoDataSet1 datasource.

The only way that I have been able to switch datasource is to add a third
datasource that points to nothing. Is there a way to set the
AdoDataSet1.DataSource property to nothing like you can at design time?