| View previous topic :: View next topic |
| Author |
Message |
Adriano Guest
|
Posted: Wed Sep 06, 2006 11:14 pm Post subject: Too slow to open the ClientDataSet |
|
|
I'm using BDS 2006, SQL Server 2005 and DBexpress Connection.
I have 8 ClientDataSets in DataModule and all them are relations with the
master ClientDataset, the master ClientDataSet has 135 records and the
others has 5 record each one, but when a try to Activate the Master
ClientDataSet it's too slow to open it and it opens all ClientDataSet childs
together. Is there a solution to eliminate this long time to open all
ClientDataSet's, or I can just Open the Master ClientDataSet and the childs
stayed closed ???
Thanks in advance
Adriano |
|
| Back to top |
|
 |
Jackson Gomes - Tools&Com Guest
|
Posted: Thu Sep 07, 2006 1:34 am Post subject: Re: Too slow to open the ClientDataSet |
|
|
| Quote: | together. Is there a solution to eliminate this long time to open all
ClientDataSet's, or I can just Open the Master ClientDataSet and the
childs
stayed closed ???
|
Try to use poFetchDetailsOnDemand on your DatasetProvider.Options property.
Regards
--
Jackson Gomes
Tools&Comps - Security Components for Borland Developers.
Web Site: http://www.toolsandcomps.com
Our Forum: http://groups.yahoo.com/group/toolsandcomps
e-mail: jackson (AT) toolsandcomps (DOT) com
Phone: 55 31 38494946 |
|
| Back to top |
|
 |
Adriano Guest
|
Posted: Fri Sep 08, 2006 8:10 pm Post subject: Re: Too slow to open the ClientDataSet |
|
|
Jackson, thanks a lot... it work's !!!
Do you know what does this parameter do ???
Thanks
"Jackson Gomes - Tools&Comps" <jackson (AT) toolsandcomps (DOT) com> escreveu na
mensagem news:44ff30e7 (AT) newsgroups (DOT) borland.com...
| Quote: |
together. Is there a solution to eliminate this long time to open all
ClientDataSet's, or I can just Open the Master ClientDataSet and the
childs
stayed closed ???
Try to use poFetchDetailsOnDemand on your DatasetProvider.Options
property.
Regards
--
Jackson Gomes
Tools&Comps - Security Components for Borland Developers.
Web Site: http://www.toolsandcomps.com
Our Forum: http://groups.yahoo.com/group/toolsandcomps
e-mail: jackson (AT) toolsandcomps (DOT) com
Phone: 55 31 38494946
|
|
|
| Back to top |
|
 |
Jackson Gomes - Tools&Com Guest
|
Posted: Mon Sep 11, 2006 4:56 am Post subject: Re: Too slow to open the ClientDataSet |
|
|
| Quote: | Do you know what does this parameter do ???
|
poFetchDetailsOnDemand will fetch the detail records when they are needed
only.
--
Jackson Gomes
Tools&Comps - Security Components for Borland Developers.
Web Site: http://www.toolsandcomps.com
Our Forum: http://groups.yahoo.com/group/toolsandcomps
e-mail: jackson (AT) toolsandcomps (DOT) com
Phone: 55 31 38494946 |
|
| Back to top |
|
 |
|