@AF Clarification Needed...

Kenneth Brody kenbrody at spamcop.net
Tue Oct 4 10:16:52 PDT 2011


On 10/4/2011 12:39 PM, Stanley - stanlyn-com wrote:
>>> Can you define "having problems with @AF"?
> Yes Ken,
[...]
> @wlfI2)
> If  : I2) eq ".sh"
> Then: G2)="6055-475" ; I2)="SHIPPING" ; D2)="Shipping"
>
> The debugger is reporting I2)=.sh as it should, @af is eq to 5 as it should,
> now the problem... D2), Q2), M2) are all showing their values from the 1st
> set as if @af=1, and will proceed to overwrite them.
>
> I have never experienced this when the associated fields are contiguous.
[...]

What you are experiencing has nothing to do with whether the fields are 
contiguous in the file definition.  And, given the same fields, but set 
contiguously in the definition, you will see the exact same behavior.

The problem you are experiencing is due to the fact that you have given the 
fields different group letters, making the separate and distinct.  Within 
the event for one of the I* groups, only references to fields in the I* 
group will be affected by @AF.

I guarantee that if you look at the files where this is "working" that you 
will see that all of the fields are in the same group.  (ie: "I1)", "I2)", 
and "I3)", rather than "I2)", "D2)", and "Q2)".)

-- 
Kenneth Brody


More information about the Filepro-list mailing list