Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

is there any function in JBuilderX like dataset.disableControls in Delphi

2 views
Skip to first unread message

kei

unread,
Jun 22, 2006, 12:32:18 PM6/22/06
to
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!!


kei

unread,
Jun 24, 2006, 1:00:28 AM6/24/06
to
Oh, not one know the answer?

"kei" <k...@omc.com.hk> wrote in message
news:449a...@newsgroups.borland.com...

Marc Valentin

unread,
Sep 21, 2006, 4:31:40 PM9/21/06
to
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-
0 new messages