Subject RE: [IBO] Modified property not working ?
Author Nico Callewaert

NeedToPost is always True after the dataset goes into edit-mode,
even when you didn't change anything. One more thing : when a user inserts
a record, and he cancels his insert, is it necessary to call a commit or
commitretaining after a cancel. Or there was no physical transaction yet


-----Oorspronkelijk bericht-----
Van: Svein Erling Tysvar [mailto:svein.erling.tysvaer@...]
Verzonden: vrijdag 6 april 2001 11:05
Onderwerp: Re: [IBO] Modified property not working ?



if qrDealer.NeedToPost then

or something like that (haven't got Delphi on this PC).


At 10:52 06.04.2001 +0200, you wrote:
> When my dataset goes in edit mode, I have a line of code like this
> if qrDealer.Modified then
> qrDealer.Post;
> This code is in the OnClick event of a TButton component. Maybe
this code
>is only working in the BeforePost event of the dataset ???
>Nico Callewaert

Yahoo! Groups Sponsor

Click Here to Find Software Faster

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

[Non-text portions of this message have been removed]