>It would loose scope at this point. I just know this for sure, because I was bitten by this problem once. It was discussed here as well, but it was long time ago and I don't remember thread specifics. I recall, though, that Ed Rauh participated in it:)
OK, I think it is
starting to make sense to me, now.
When I asked the parameter question in the discussion group of the framework I use (Visual Extend), I got an interesting alternative to your suggestion: instead of a private variable, I can use properties of the calling form, with ThisForm! The calling form would still be active in the DataEnvironment.OpenTables() event. At least, that was the claim.
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)