<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<br>
GCC Consulting wrote:
<blockquote cite="mid003401c73a6d$82d1c3e0$0a01a8c0@Lassie" type="cite">
<blockquote type="cite">
<pre wrap="">
Yes, I have used similar techniques in the past. The problem
here though, according to my understanding, is that the
fields are not contiguous. One needs a generic solution that
does not depend on the fields being laid out neatly.
</pre>
</blockquote>
<pre wrap=""><!---->
If one is running 5.6, you can dim and array to the associated field so they
don't have to be contiguous.
All that is required is an array for each associated field level'
Dim item_org(32):s0;dim ord_qty(32):s1 etc
This makes handling no contiguous associated fields easier.
One can then use the methods shown to fill each of these arrays and also
have arrays which hold the changes.
Comparing the starting array element to the ending array matching element
looking for a change. If any one array element changed, process the change
for that line item from each of the arrays.
Richard Kreiss
GCC Consulting
</pre>
</blockquote>
Cool!!<br>
<br>
I did not know that this existed in 5.6. I haven't run into this
problem myself, but I will be looking to upgrade to 5.6 in the very
near future.<br>
<br>
Then the answer is easy. Upgrade to 5.6 and problem solved.<br>
<br>
Boaz<br>
<br>
</body>
</html>