Wow, thanks Arthur! This cleared up the problems in both my sample code and our real application. Dave: is the sample code that I sent to demonstrate the problem useful enough pedagogically that I should send along a version that actually works? -greg