| View previous topic :: View next topic |
| Author |
Message |
Jeff Howard Guest
|
Posted: Fri Feb 18, 2005 5:31 pm Post subject: TAdoData1 DataSource |
|
|
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?
|
|
| Back to top |
|
 |
Bill Todd Guest
|
Posted: Fri Feb 18, 2005 6:07 pm Post subject: Re: TAdoData1 DataSource |
|
|
AdoDataSet1.DataSource := nil;
--
Bill Todd (TeamB)
TeamB cannot answer questions received via email
|
|
| Back to top |
|
 |
Jeff Howard Guest
|
Posted: Fri Feb 18, 2005 10:42 pm Post subject: Re: TAdoData1 DataSource |
|
|
Thanks,
I had tried null but not nil!
"Bill Todd" <no (AT) no (DOT) com> wrote
| Quote: | AdoDataSet1.DataSource := nil;
--
Bill Todd (TeamB)
TeamB cannot answer questions received via email
|
|
|
| Back to top |
|
 |
yc Guest
|
Posted: Sat Feb 19, 2005 4:06 pm Post subject: Re: TAdoData1 DataSource |
|
|
NULL in C++Builder
In Delphi nil (stands for Not In List)
yc
"Jeff Howard" <jhoward (AT) cubiscan (DOT) com> wrote
| Quote: | Thanks,
I had tried null but not nil!
"Bill Todd" <no (AT) no (DOT) com> wrote in message
news:42162ed0$1 (AT) newsgroups (DOT) borland.com...
AdoDataSet1.DataSource := nil;
--
Bill Todd (TeamB)
TeamB cannot answer questions received via email
|
|
|
| Back to top |
|
 |
Bill Todd Guest
|
Posted: Sat Feb 19, 2005 4:51 pm Post subject: Re: TAdoData1 DataSource |
|
|
Someone has a vivid imagination. Nil is just the word nil whose
definition is, "nothing; naught; zero; having no value or existence".
--
Bill Todd (TeamB)
TeamB cannot answer questions received via email
yc wrote:
| Quote: | In Delphi nil (stands for Not In List)
|
|
|
| Back to top |
|
 |
|