• Can you take the PG_STATUS out of the database and just calculate it at runtime?

    Join the three tables together, where the scout status is not equal to 5, and select the parent/guardian data from that. Don't store the value, just calculate it when you need it. Will that work?

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon