>Hilmar,
>
>Good idea. I think this may do it, assuming I use a cmdButton as the calling object.
I think you could "encapsulate" all this in a function. The function creates an object, as described earlier (or a private variable?), the form modifies the object property or the private variable, and the function, finally, returns this variable or property.
Thus, you could later issue, from any place:
MyDate = GetDate()
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)