Global relationship bug

Global relationships aren’t working right at least in at least in 2.2rc1, winXP, jdk1.5 I’ve been having big p[roblems diagnosing the issue and made a simple solution to figure out what is going on.

I have a form using the addresses table of the crm database. I’m using the int field named ‘visit_address’ and I added a global int variable named ‘gFlag’. I added a relationship, gFlag = visit_address Now, on a form in table view, I show visit_address, gFlag and visit_address from the relation above, all as check boxes. With me so far?

Some records have visit_address as true and the others false. The behavior I expected would show the related flag as checked when I checked the gFlag and visit_address. This doesn’t work at all and the really screwy thing is what happens when you toggle a related visit_address check box and then toggle the gFlag. This causes the actual value of various visit_address fields to change - and I’m not talking about the records that you touched!

You can build this test in 5 minutes or I’ll email you the little solution if you want to try it.