Comparing record with original when saving
Boaz Bezborodko
boaz at mirrotek.com
Wed Jan 17 12:49:12 PST 2007
GCC Consulting wrote:
>>
>> 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.
>>
>
> 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
>
>
>
Cool!!
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.
Then the answer is easy. Upgrade to 5.6 and problem solved.
Boaz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.celestial.com/pipermail/filepro-list/attachments/20070117/b2d88201/attachment-0001.html
More information about the Filepro-list
mailing list