Dear Devart,
Is there a similar to UpdatesPending property in CachedMode := False???, that could told us if their ant updates in the Dataset (delete, update, insert)
Best Regards,
UpdatesPending in NonCachedMode
Re: UpdatesPending in NonCachedMode
Hello,
To determine whether records were modified (Edit/Insert) before calling Post when CachedUpdates = False, you can use the Modified property. When calling the Delete method, the current record is immediately deleted (with no need to call Post), therefore the Modified property will be False.
To determine whether records were modified (Edit/Insert) before calling Post when CachedUpdates = False, you can use the Modified property. When calling the Delete method, the current record is immediately deleted (with no need to call Post), therefore the Modified property will be False.
Re: UpdatesPending in NonCachedMode
Your answer is about the current record in a Dataset, I asked about the Dataset, In case I Edit a record and then Post, Insert a new record and then Post and move to the third record (posts done by GUI when moving between records), at that case Dataset have updates i can not check unless i used custom code, is their any method or property could told me about update like UpdatesPending in NonCachedMode, and if not is their any intention to add in the near future??
Best Regards,
Best Regards,
Re: UpdatesPending in NonCachedMode
After calling the Post method, there is no ability to determine whether the DataSet was modified or not. It is standard behavior of DBAccess components.
Re: UpdatesPending in NonCachedMode
Dear Alex;
Hope to add such a feature in the near future, I know it's a standard behavior of DBAccess component but we are using Devart components to give as much as possible features, thanks in advance.
Best Regards,
Ahmed Hijazi P. Eng
Hope to add such a feature in the near future, I know it's a standard behavior of DBAccess component but we are using Devart components to give as much as possible features, thanks in advance.
Best Regards,
Ahmed Hijazi P. Eng
Re: UpdatesPending in NonCachedMode
We don't plan to implement such behavior. You can create a descendant from our DataSet and implement the needed functionality by yourself.