BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Too slow to open the ClientDataSet

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (dbExpress)
View previous topic :: View next topic  
Author Message
Adriano
Guest





PostPosted: Wed Sep 06, 2006 11:14 pm    Post subject: Too slow to open the ClientDataSet Reply with quote



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





PostPosted: Thu Sep 07, 2006 1:34 am    Post subject: Re: Too slow to open the ClientDataSet Reply with quote



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





PostPosted: Fri Sep 08, 2006 8:10 pm    Post subject: Re: Too slow to open the ClientDataSet Reply with quote



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





PostPosted: Mon Sep 11, 2006 4:56 am    Post subject: Re: Too slow to open the ClientDataSet Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (dbExpress) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.