Subject | RE: [IBO] Modified property not working ? |
---|---|
Author | Nico Callewaert |
Post date | 2001-04-06T09:06:53Z |
Set,
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
??
Thanks,
Nico
-----Oorspronkelijk bericht-----
Van: Svein Erling Tysvar [mailto:svein.erling.tysvaer@...]
Verzonden: vrijdag 6 april 2001 11:05
Aan: IBObjects@yahoogroups.com
Onderwerp: Re: [IBO] Modified property not working ?
Nico,
try
if qrDealer.NeedToPost then
qrDealer.Post;
or something like that (haven't got Delphi on this PC).
Set
At 10:52 06.04.2001 +0200, you wrote:
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]
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
??
Thanks,
Nico
-----Oorspronkelijk bericht-----
Van: Svein Erling Tysvar [mailto:svein.erling.tysvaer@...]
Verzonden: vrijdag 6 april 2001 11:05
Aan: IBObjects@yahoogroups.com
Onderwerp: Re: [IBO] Modified property not working ?
Nico,
try
if qrDealer.NeedToPost then
qrDealer.Post;
or something like that (haven't got Delphi on this PC).
Set
At 10:52 06.04.2001 +0200, you wrote:
>Hi,:
>
> When my dataset goes in edit mode, I have a line of code like this
>this code
> if qrDealer.Modified then
> qrDealer.Post;
>
> This code is in the OnClick event of a TButton component. Maybe
>is only working in the BeforePost event of the dataset ???Yahoo! Groups Sponsor
>
>Thanks,
>
>Nico Callewaert
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]