Board index » delphi » DisableControls question

DisableControls question

Hello
when using DisableControls method before scaning
a table it increase speed and thats good. but on the
same time it disconect the other related table.
Is there a way to disable controls like dbgrid but
keep masterdetail relation active?
Thanks sorin
 

Re:DisableControls question


Set TDataSource.Enabled to False instead of calling TTable.DisableControls.

--
Bill

Bill Todd (TeamB)
(TeamB cannot respond to questions received via email)

Re:DisableControls question


Thank you
I try but the effect is the same.
the master/detail relation lost connection.
Sorin

Bill Todd (TeamB) <b...@dbginc.com> wrote in message
news:8cb0as$dh217@bornews.borland.com...

Quote
> Set TDataSource.Enabled to False instead of calling

TTable.DisableControls.
Quote

> --
> Bill

> Bill Todd (TeamB)
> (TeamB cannot respond to questions received via email)

Other Threads