Try calling Abort or throwing an exception.
Cheers,
Ignacio
I want that user cannot scroll to another record in TSQLClientDataset when
he has changed something before he either AppliesUpdates or CancelsUpdates.
I can detect in BeforeScroll event handler when there are some pending
updates but I don't know how to prevent that scroll.
Do you know how to do it?
Thank you
Aivar Annamaa
"Ignacio Vazquez" <ivazquezATorioncommunications.com> wrote in message
news:3ed4...@newsgroups.borland.com...
--
Thomas Miller
Delphi Client/Server Certified Developer
BSS Accounting & Distribution Software
BSS Enterprise Accounting FrameWork
http://www.bss-software.com
http://sourceforge.net/projects/dbexpressplus
Thomas Miller wrote:
> FYI does through an exception, EAbort, which is a silent exception.
>
Indeed, the silent Abort exception can be used to kill a lot of
things without disgusting noises (cancels, posts, deletes).
But beware: it doesn't work with neighbors our *** in law people. :-)
Best regards.
--
"I can resist to anything except to temptations."
Oscar Wilde