>hi,
>
>thank you very much,
>
>silly qustion.
>
>at any procedure via myform.pageframe1.page1 or page2 i can
>use your suggestion.
>
>thanks.
>best regards
>m.qasem
Yes. For example, you could put it into a CommandButton, Click() Event. However, it is better OOP practice to use a form method. The button's Click() Event calls the form method, for example:
ThisForm.PrintReport()
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)