I've not been able to find any details on what the differences between the PXV_DocSaveFlags "PXV_DocSave_Incremental" and "PXV_DocSave_NonIncremental" are. Could you please help me out?
Regards,
Paul
Question On PXV_DocSaveFlags
Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
- Contact:
Re: Question On PXV_DocSaveFlags
Hello Paul,
If you specify the PXV_DocSave_Incremental flag - then the incremental save will be done in all cases.
If you specify the PXV_DocSave_NonIncremental flag - then the incremental save won't be done in all cases.
If you don't specify any of those flags then the incremental save will be used if the Settings[L"Docs.Save.AlwaysIncSave"] is true (there is such an option is the Application Preferences). If that setting is false then there is another case when the save can become incremental - is when the document form's SigFlags property is set to PXC_FormSigFlag::FormSig_AppendOnly. In all other cases the save won't be incremental.
Cheers,
Alex
If you specify the PXV_DocSave_Incremental flag - then the incremental save will be done in all cases.
If you specify the PXV_DocSave_NonIncremental flag - then the incremental save won't be done in all cases.
If you don't specify any of those flags then the incremental save will be used if the Settings[L"Docs.Save.AlwaysIncSave"] is true (there is such an option is the Application Preferences). If that setting is false then there is another case when the save can become incremental - is when the document form's SigFlags property is set to PXC_FormSigFlag::FormSig_AppendOnly. In all other cases the save won't be incremental.
Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Re: Question On PXV_DocSaveFlags
Alex,
Thanks for the detailed information. I'm looking at implementing an "auto save" function to prevent loss of data while the end user goes through what can at times be a length workflow to add information to and possibly modify the contents of an input document. The "incremental save" combined with the MS WPF "DispatcherTimer" should do the job with minimum overhead.
Regards,
Paul
Thanks for the detailed information. I'm looking at implementing an "auto save" function to prevent loss of data while the end user goes through what can at times be a length workflow to add information to and possibly modify the contents of an input document. The "incremental save" combined with the MS WPF "DispatcherTimer" should do the job with minimum overhead.
Regards,
Paul
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
- Contact:
Re: Question On PXV_DocSaveFlags
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ