Unable to Code Changes to Fields in Custom DotEdit Panel in IBM Datacap Taskmaster Capture
In a custom DotEdit panel cs file action such as LoadData(), calling dcedInvoice_Date.CtlText = "05/22/2014"; does not persist back the page data file for that field.
You may also see your code being called twice. This is by design. A user will select submit and LoadData() SaveData() LoadData() SaveData() are the resulting calls.
Focus() of fields was not changed and changing Focus() is what saves your data.
Resolving the problem
To resolve the problem, call Focus() after your changes to either the same field or to another field, depending on your code.
For example in LoadData() one might have the following to persist changes in Datacap:
dcedInvoice_Date.MakeDirty(); // optional call