After doing some quick experimentation on that form, I found that variable names change after each set of 252 variables. See the example below where I put some entries in at the boundaries of each set.
For example, the description field for variable "IR" is "Description position". It is the 252th variable on that form and it is the last variable in what we'll call Set 1.
The description for the very next variable, "IS", starts the next set of variables. All the fields in Set 2 have an "_2" in the name. You'll notice that even though "IR" is the 253rd variable on the form, it is the first variable/row for all the field names that have a "_2" in the name (e.g. "Description_2 position").
Likewise, variable "SK" is the first variable for all the fields that have "_3", (e.g., "Description_3 position). "ZZ" is the last variable on the form and it is on row 198 of the 3rd set of variables.
Response {
var $result_code = 0
var $result_data =
'<?xml version="1.0"?>
<result_data>
<VectorVariables>
<Description position="1">A - Set 1, Row 1</Description>
<Description position="252">IR - Set 1, Row 252</Description>
<Type position="1">collect</Type>
<Type position="252">collect</Type>
<Scope position="1">L</Scope>
<Scope position="252">L</Scope>
<Length position="1">16</Length>
<Length position="252">16</Length>
<Start position="1">1</Start>
<Start position="252">1</Start>
<Description_2 position="1">IS - Set 2, Row 1 (253)</Description_2>
<Description_2 position="252">SJ - Set 2, Row 252 (504)</Description_2>
<Type_2 position="1">collect</Type_2>
<Type_2 position="252">collect</Type_2>
<Scope_2 position="1">L</Scope_2>
<Scope_2 position="252">L</Scope_2>
<Length_2 position="1">16</Length_2>
<Length_2 position="252">16</Length_2>
<Start_2 position="1">1</Start_2>
<Start_2 position="252">1</Start_2>
<Description_3 position="1">SK - Set 3, Row 1 (505)</Description_3>
<Description_3 position="198">ZZ - Set 3, Row 198 (702)</Description_3>
<Type_3 position="1">collect</Type_3>
<Type_3 position="198">collect</Type_3>
<Scope_3 position="1">L</Scope_3>
<Scope_3 position="198">L</Scope_3>
<Length_3 position="1">16</Length_3>
<Length_3 position="198">16</Length_3>
<Start_3 position="1">1</Start_3>
<Start_3 position="198">1</Start_3>
</VectorVariables>
</result_data>
'
var $message_text = ''
}
|