IBM Support

Unable to Code Changes to Fields in Custom DotEdit Panel in IBM Datacap Taskmaster Capture

Technote (troubleshooting)


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.CtlText = "05/22/2014" ;
      dcedInvoice_Date.MakeDirty(); // optional call
      return bRetn;

Document information

More support for: Datacap

Software version: 8.1.0

Operating system(s): Windows

Reference #: 1674446

Modified date: 07 December 2016