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 

is there any function in JBuilderX like dataset.disableCont

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder DB Swing
View previous topic :: View next topic  
Author Message
kei
Guest





PostPosted: Thu Jun 22, 2006 9:32 pm    Post subject: is there any function in JBuilderX like dataset.disableCont Reply with quote



In Delphi, if scrolling a large dataset, we can call disableControls and
after scrolling, call enableControls (this prevent the controls keep refresh
while the dataSet is scrolling), but is there any similar function in
JBuilder X?
my JDBTable connect to a large TableDataSet which contain > 10000 records, I
try to call TableDataSet.deleteAllRows() and find the machine hangs!! I
think the times is spent on continuous refreshing the display of JDBTable.

Thx!!
Back to top
kei
Guest





PostPosted: Sat Jun 24, 2006 8:13 am    Post subject: Re: is there any function in JBuilderX like dataset.disable Reply with quote



Oh, not one know the answer?

"kei" <kei (AT) omc (DOT) com.hk> wrote in message
news:449ac613 (AT) newsgroups (DOT) borland.com...
Quote:
In Delphi, if scrolling a large dataset, we can call disableControls and
after scrolling, call enableControls (this prevent the controls keep
refresh while the dataSet is scrolling), but is there any similar function
in JBuilder X?
my JDBTable connect to a large TableDataSet which contain > 10000 records,
I try to call TableDataSet.deleteAllRows() and find the machine hangs!! I
think the times is spent on continuous refreshing the display of JDBTable.

Thx!!
Back to top
Marc Valentin
Guest





PostPosted: Fri Sep 22, 2006 1:31 am    Post subject: Re: is there any function in JBuilderX like dataset.disable Reply with quote



Well, I don't know anything about java but in Delphi I never do what you
do ! I use an SQL command like this : "DELETE FROM db WHERE ..." and
most of the time, I create the command or query (dataset component)
needed directly in the code. I do a "free" when finished.
"deleteAllRows" is certainly not to be used with large tables.
-marc-

kei wrote:
Quote:
Oh, not one know the answer?

"kei" <kei (AT) omc (DOT) com.hk> wrote in message
news:449ac613 (AT) newsgroups (DOT) borland.com...
In Delphi, if scrolling a large dataset, we can call disableControls and
after scrolling, call enableControls (this prevent the controls keep
refresh while the dataSet is scrolling), but is there any similar function
in JBuilder X?
my JDBTable connect to a large TableDataSet which contain > 10000 records,
I try to call TableDataSet.deleteAllRows() and find the machine hangs!! I
think the times is spent on continuous refreshing the display of JDBTable.

Thx!!


Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder DB Swing 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.