 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
kei Guest
|
Posted: Thu Jun 22, 2006 9:32 pm Post subject: is there any function in JBuilderX like dataset.disableCont |
|
|
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
|
Posted: Sat Jun 24, 2006 8:13 am Post subject: Re: is there any function in JBuilderX like dataset.disable |
|
|
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
|
Posted: Fri Sep 22, 2006 1:31 am Post subject: Re: is there any function in JBuilderX like dataset.disable |
|
|
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 |
|
 |
|
|
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
|
|