I have 4 records, North, S E & West. Call this DIR for Direction.
and a yes/no field on each one.
I want to have 4 rows in a grid, and a button on each.
The button is to set that record YES (N,S,E or W), and all others NO.
I have to pass in the context for the rec I'm on.
DIR.yesno = "Yes" This correctly assigns that DIR record to Yes.
This correctly finds the "other" 3 recs:
FIND DIR WHERE DIR <> this.DIR IN BATCHES OF 1
but
DIR.yesno = "No" does not execute correctly.
Using LOG2 CONTEXT and the Logger, I can see that the Original Passed in DIR is still in Context, PLUS the 3 that were found.
Each of the 3 iterations operates on
a) the original passed in DIR, and
b) the "other" 3 records, 1 in each pass.
I can't seem to shake that 1st DIR record that already got set to "Yes", and now gets set back to "No' (3 times in fact).
confused.
--> JaymerTip