Storing multiple values in the runtime page data file

Your application can store values from multiple data entry passes in the runtime page data file.

About this task

Datacap can store multiple values in the runtime page data file for any specified field:
<F id="Vendor">
			<V n="TYPE">Vendor</V>
			<V n="Position">0,0,0,0</V>
			<V n="STATUS">1</V>
			<C n="6,8,10" cr="0,0,0,0">68,49,83</C>
			<C n="6,8,10" cr="0,0,0,0">97,50,112</C>
			<C n="6,8,10" cr="0,0,0,0">116,51,105/C>
</F>
In the task example, the Vendor field has three 3-character values that are represented by the ASCII characters shown. The first value (AltText[0] = ASCII 68,97,116 = Data) is the primary data value.

Your application can use this structure to store values from multiple data entry passes. However, because data is always captured in AltText[0], you need to move the data.

Procedure

For example, to implement double blind:

  1. Capture the initial data in AltText[0].
  2. Move the data into AltText[1].
  3. Display the page to Operator 2 and save the new data in AltText[0].
  4. Copy the AltText[0] data into AltText[2].
  5. Display the page so Operator 3 can review AltText[1] and AltText[2] and accept either version or enter new data in AltText[0].