Subject | Re: No Reply... Second try... Fw: [IBO] TIBOQuery.Edit would must to call always AfterPost with Next call |
---|---|
Author | Helen Borrie |
Post date | 2001-12-23T00:43:43Z |
At 10:06 PM 22-12-01 +0100, Miguel wrote:
Can you explain why you want to call CommitRetaining in your master AfterPost code?
What happens if you remove it?
Or are you doing something else in master.AfterPost as well?
Are you saying that you don't want the detail dataset to go into dsEdit when the master goes into dsEdit?
Helen
>> When I put TIBOQuery in dsEdit state with Edit call by example, IWhat is the AutoCommit setting on your IBODatabase?
>> understand that if I do TIBOQuery.Next the AfterPost by example would must
>> to be called although I haven't changes in the fields. The example is
>> simple, a master detail relation and when the detail is edited the master is
>> forced to edit state and in the master AfterPost I call to commitretaining,
>> now I lose the changes.
>>
Can you explain why you want to call CommitRetaining in your master AfterPost code?
What happens if you remove it?
Or are you doing something else in master.AfterPost as well?
Are you saying that you don't want the detail dataset to go into dsEdit when the master goes into dsEdit?
Helen